]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoThis commit was generated by cvs2svn to compensate for changes in r47148,
David E. O'Brien [Fri, 14 May 1999 02:00:38 +0000 (02:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r47148,
which included commits to RCS files with non-trunk default branches.

25 years agoVirgin import of Xircom PCCARD driver v1.18
David E. O'Brien [Fri, 14 May 1999 02:00:38 +0000 (02:00 +0000)]
Virgin import of Xircom PCCARD driver v1.18

v1.18 (1999/04/08) adds support for CEM56 and REM56 multifunction cards.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoVirgin import of Xircom PCCARD driver v1.18
David E. O'Brien [Fri, 14 May 1999 02:00:38 +0000 (02:00 +0000)]
Virgin import of Xircom PCCARD driver v1.18

v1.18 (1999/04/08) adds support for CEM56 and REM56 multifunction cards.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoThis commit was generated by cvs2svn to compensate for changes in r47145,
David E. O'Brien [Fri, 14 May 1999 01:58:59 +0000 (01:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r47145,
which included commits to RCS files with non-trunk default branches.

25 years agoVirgin import of Xircom PCCARD driver v1.17
David E. O'Brien [Fri, 14 May 1999 01:58:59 +0000 (01:58 +0000)]
Virgin import of Xircom PCCARD driver v1.17

v1.17 (1999/03/28) has xperimental fixes to 10Mbit autonegotiation and
CE2 input lockup.

KNOWN BUGS
==========

* Media auto-negotiation is definitely not right.  It will work in most
  circumstances and seems to connect OK to most 100Mbit networks, however some
  pathological combinations of hubs/networks/peers seem to confuse it.

* CE2 support is somewhat flakey (ranging from 'works perfectly' to 'hangs the
  machine' so far).  I've fixed the probe routine and a potential lockup in
  the output routine, but a lot of people still report that they can't receive
  or transmit.

* You won't be able to use the modem and Ethenet parts of a multifunction card
  simultaneously.  This is limitation the current FreeBSD PCMCIA support.
  Likewise, there is no support for CardBus devices.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoVirgin import of Xircom PCCARD driver v1.17
David E. O'Brien [Fri, 14 May 1999 01:58:59 +0000 (01:58 +0000)]
Virgin import of Xircom PCCARD driver v1.17

v1.17 (1999/03/28) has xperimental fixes to 10Mbit autonegotiation and
CE2 input lockup.

KNOWN BUGS
==========

* Media auto-negotiation is definitely not right.  It will work in most
  circumstances and seems to connect OK to most 100Mbit networks, however some
  pathological combinations of hubs/networks/peers seem to confuse it.

* CE2 support is somewhat flakey (ranging from 'works perfectly' to 'hangs the
  machine' so far).  I've fixed the probe routine and a potential lockup in
  the output routine, but a lot of people still report that they can't receive
  or transmit.

* You won't be able to use the modem and Ethenet parts of a multifunction card
  simultaneously.  This is limitation the current FreeBSD PCMCIA support.
  Likewise, there is no support for CardBus devices.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoVirgin import of Xircom PCCARD driver v1.16.
David E. O'Brien [Fri, 14 May 1999 01:53:32 +0000 (01:53 +0000)]
Virgin import of Xircom PCCARD driver v1.16.

v1.16 (1999/03/08) fixed BPF input hang and infinite loop on CE2
short-packet output.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoThis commit was generated by cvs2svn to compensate for changes in r47142,
David E. O'Brien [Fri, 14 May 1999 01:53:32 +0000 (01:53 +0000)]
This commit was generated by cvs2svn to compensate for changes in r47142,
which included commits to RCS files with non-trunk default branches.

25 years agoVirgin import of Xircom PCCARD driver v1.16.
David E. O'Brien [Fri, 14 May 1999 01:53:32 +0000 (01:53 +0000)]
Virgin import of Xircom PCCARD driver v1.16.

v1.16 (1999/03/08) fixed BPF input hang and infinite loop on CE2
short-packet output.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoVirgin import of Xircom PCCARD driver v1.15
David E. O'Brien [Fri, 14 May 1999 01:52:10 +0000 (01:52 +0000)]
Virgin import of Xircom PCCARD driver v1.15

v1.15 fixed driver registration bug under 3.1-STABLE.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoThis commit was generated by cvs2svn to compensate for changes in r47139,
David E. O'Brien [Fri, 14 May 1999 01:52:10 +0000 (01:52 +0000)]
This commit was generated by cvs2svn to compensate for changes in r47139,
which included commits to RCS files with non-trunk default branches.

25 years agoVirgin import of Xircom PCCARD driver v1.15
David E. O'Brien [Fri, 14 May 1999 01:52:10 +0000 (01:52 +0000)]
Virgin import of Xircom PCCARD driver v1.15

v1.15 fixed driver registration bug under 3.1-STABLE.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoVirgin import of Xircom PCCARD driver v1.14
David E. O'Brien [Fri, 14 May 1999 01:50:10 +0000 (01:50 +0000)]
Virgin import of Xircom PCCARD driver v1.14

This driver is mostly based on the `xirc2ps' driver for Linux by Werner
Koch.  Werner has even allowed his code to be distributed under a BSD licence,
making our life considerably easier -- thanks Werner!

This driver supports:
* Intel EtherExpress(TM) PRO/100 PCCARD (16-bit version)
* Xircom CreditCard CE2 / CEM28 / CEM33 / CE3 / CEM56 Ethernet adapters.
* Toshiba Advanced Network 10/100 PCCARD
* Certain Compaq Netelligent 10/100 branded cards

v1.14 has major changes to media selection code, and bugfixes in the
probe routine.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoThis commit was generated by cvs2svn to compensate for changes in r47136,
David E. O'Brien [Fri, 14 May 1999 01:50:10 +0000 (01:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r47136,
which included commits to RCS files with non-trunk default branches.

25 years agoVirgin import of Xircom PCCARD driver v1.14
David E. O'Brien [Fri, 14 May 1999 01:50:10 +0000 (01:50 +0000)]
Virgin import of Xircom PCCARD driver v1.14

This driver is mostly based on the `xirc2ps' driver for Linux by Werner
Koch.  Werner has even allowed his code to be distributed under a BSD licence,
making our life considerably easier -- thanks Werner!

This driver supports:
* Intel EtherExpress(TM) PRO/100 PCCARD (16-bit version)
* Xircom CreditCard CE2 / CEM28 / CEM33 / CE3 / CEM56 Ethernet adapters.
* Toshiba Advanced Network 10/100 PCCARD
* Certain Compaq Netelligent 10/100 branded cards

v1.14 has major changes to media selection code, and bugfixes in the
probe routine.

Developed by: Scott Mitchell <scott@uk.freebsd.org>
Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/

25 years agoVirgin import of Xircom PCCARD driver v1.13
David E. O'Brien [Fri, 14 May 1999 01:41:26 +0000 (01:41 +0000)]
Virgin import of Xircom PCCARD driver v1.13

25 years agoThis commit was generated by cvs2svn to compensate for changes in r47133,
David E. O'Brien [Fri, 14 May 1999 01:41:26 +0000 (01:41 +0000)]
This commit was generated by cvs2svn to compensate for changes in r47133,
which included commits to RCS files with non-trunk default branches.

25 years agoVirgin import of Xircom PCCARD driver v1.13
David E. O'Brien [Fri, 14 May 1999 01:41:26 +0000 (01:41 +0000)]
Virgin import of Xircom PCCARD driver v1.13

25 years agoPreviously directories were sync'ed every 10 seconds while bitmaps &
Kirk McKusick [Fri, 14 May 1999 01:29:21 +0000 (01:29 +0000)]
Previously directories were sync'ed every 10 seconds while bitmaps &
inodes were synced every 15 seconds. This is now reversed as during
directory create, we cannot commit the directory entry until its
inode has been written. With this switch, the inodes will be more
likely to be written by the time that the directory is written thus
reducing the number of directory rollbacks that are needed.

25 years agoAdd a hook to ffs_fsync to allow soft updates to get first chance at doing
Kirk McKusick [Fri, 14 May 1999 01:26:46 +0000 (01:26 +0000)]
Add a hook to ffs_fsync to allow soft updates to get first chance at doing
a sync on the block device for the filesystem. That allows it to push the
bitmap blocks before the inode blocks which greatly reduces the number of
inode rollbacks that need to be done.

25 years agoInclude <sys/systm.h> earlier as required by include changes.
Mike Smith [Fri, 14 May 1999 00:41:02 +0000 (00:41 +0000)]
Include <sys/systm.h> earlier as required by include changes.

25 years agothe month and three days are up for -hackers and the 24hrs for -committers.
John-Mark Gurney [Fri, 14 May 1999 00:28:41 +0000 (00:28 +0000)]
the month and three days are up for -hackers and the 24hrs for -committers.

add a -j flag that tells date not to try to set the date.  This allows you
to use date as a userland interface to strptime.

example:
TZ=GMT date -j -f "%a, %d %b %Y %T %Z" "Sun, 08 Nov 1998 02:22:20 GMT" +%s

which is the standard format for Last-modified headers in HTTP requests.

only one to respond: eivind

25 years agoRemove unneeded line of code that got left behind when I converted this
Bill Paul [Thu, 13 May 1999 20:36:00 +0000 (20:36 +0000)]
Remove unneeded line of code that got left behind when I converted this
driver to use bus_space_read_foo()/bus_space_write_foo(). The line is not
visible unless you compile the driver to use PCI memory mapped mode, which
not done by default, but it should be fixed anyway.

25 years agoInitialise the struct device part of struct ttydevice.
Brian Somers [Thu, 13 May 1999 19:29:40 +0000 (19:29 +0000)]
Initialise the struct device part of struct ttydevice.

25 years agoOops - missing parenthesis
Brian Somers [Thu, 13 May 1999 17:09:44 +0000 (17:09 +0000)]
Oops - missing parenthesis

25 years ago/sbin/natd portrange documentation and bugfix
Brian Somers [Thu, 13 May 1999 16:58:31 +0000 (16:58 +0000)]
/sbin/natd portrange documentation and bugfix
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
PR: 11690

3.2 candidate ?

25 years agoFix a bum pointer dereference and make some variable
Brian Somers [Thu, 13 May 1999 16:35:13 +0000 (16:35 +0000)]
Fix a bum pointer dereference and make some variable
names more consistent.
Stack trace supplied by: Joe Clarke <jclarke@cisco.com>

25 years agoIgnore repeated signals sent to the parent in background
Brian Somers [Thu, 13 May 1999 16:34:57 +0000 (16:34 +0000)]
Ignore repeated signals sent to the parent in background
mode.

25 years agofix potential memory overwrite in escape parsing
Andrey A. Chernov [Thu, 13 May 1999 16:16:46 +0000 (16:16 +0000)]
fix potential memory overwrite in escape parsing

PR: 11687
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>

25 years agofix downcase() for chars with 8bit
Andrey A. Chernov [Thu, 13 May 1999 15:59:27 +0000 (15:59 +0000)]
fix downcase() for chars with 8bit

25 years agofix typo uid_t -> gid_t
Andrey A. Chernov [Thu, 13 May 1999 15:48:18 +0000 (15:48 +0000)]
fix typo uid_t -> gid_t
add unsigned char cast to ctype macros

25 years agoupgrade to perl 5.00503
Andrey A. Chernov [Thu, 13 May 1999 15:47:04 +0000 (15:47 +0000)]
upgrade to perl 5.00503

25 years agoBetter English.
Brian Somers [Thu, 13 May 1999 14:53:13 +0000 (14:53 +0000)]
Better English.

25 years agoRemoved an especially bogus cast.
Bruce Evans [Thu, 13 May 1999 13:01:46 +0000 (13:01 +0000)]
Removed an especially bogus cast.

25 years agoCasting handles from void * to uintptr_t on the way to dev_t became
Bruce Evans [Thu, 13 May 1999 12:55:37 +0000 (12:55 +0000)]
Casting handles from void * to uintptr_t on the way to dev_t became
especially bogus when dev_t became a pointer.

25 years agoAdd one more dependency (oops).
Dmitrij Tejblum [Thu, 13 May 1999 12:26:09 +0000 (12:26 +0000)]
Add one more dependency (oops).

25 years agoFixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines were
Bruce Evans [Thu, 13 May 1999 12:21:41 +0000 (12:21 +0000)]
Fixed 10 out of 40 lines of -Wcast-qual warnings/errors.  3 lines were
for old confusion of `volatile char *' with `volatile caddr_t'.  7 lines
were for not being careful about aligning pointers to volatiles.

25 years agoCorrect an error in a manpage example, add -Wall -W to Makefile (no
Kris Kennaway [Thu, 13 May 1999 12:18:24 +0000 (12:18 +0000)]
Correct an error in a manpage example, add -Wall -W to Makefile (no
warnings given) and modify source to use arc4random() instead of random().

Reviewed by: ache

25 years agoVinum doesn't compile right now.
Poul-Henning Kamp [Thu, 13 May 1999 09:43:29 +0000 (09:43 +0000)]
Vinum doesn't compile right now.

25 years agoAdded ../sys/syscall.mk to targets. Back it up like all the other
Bruce Evans [Thu, 13 May 1999 09:19:14 +0000 (09:19 +0000)]
Added ../sys/syscall.mk to targets.  Back it up like all the other
targets.

25 years agoRegenerated.
Bruce Evans [Thu, 13 May 1999 09:12:57 +0000 (09:12 +0000)]
Regenerated.

25 years agoFixed nonsense arg type `const caddr_t' in the prototype() for utrace().
Bruce Evans [Thu, 13 May 1999 09:09:37 +0000 (09:09 +0000)]
Fixed nonsense arg type `const caddr_t' in the prototype() for utrace().
Changed to `const void *'.  utrace() is undocumented, so nothing should
notice.

Fixed missing consts for utrace() and ktrace() in syscalls.master.

sys/ktrace.h is missing some Lite2 changes of shorts to ints.

25 years agomemcmp -> bcmp. memcmp doesn't exist in the kernel, but unfortunately
Bruce Evans [Thu, 13 May 1999 07:54:24 +0000 (07:54 +0000)]
memcmp -> bcmp.  memcmp doesn't exist in the kernel, but unfortunately
it exists as a gcc builtin provided the kernel is not compiled with
-O0 or -fno-builtin.

25 years agoRenamed the private copies of strlen and strcpy to gdb_strlen and
Bruce Evans [Thu, 13 May 1999 07:34:25 +0000 (07:34 +0000)]
Renamed the private copies of strlen and strcpy to gdb_strlen and
gdb_strcpy, respectively.  This saves fixing the wrong return type
of the private strlen and makes the addresses of strlen and strcpy
unambiguous.

25 years agoFixed printing of a dev_t in a panic message. Fixed the function name
Bruce Evans [Thu, 13 May 1999 06:27:51 +0000 (06:27 +0000)]
Fixed printing of a dev_t in a panic message.  Fixed the function name
in this message.

25 years agoRestored used include of <sys/systm.h>. -Wmissing-prototypes doesn't work
Bruce Evans [Thu, 13 May 1999 06:07:44 +0000 (06:07 +0000)]
Restored used include of <sys/systm.h>.  -Wmissing-prototypes doesn't work
for builtin functions.

25 years agoI'm told by the PR author that this page_size increment was in
Jordan K. Hubbard [Thu, 13 May 1999 05:24:53 +0000 (05:24 +0000)]
I'm told by the PR author that this page_size increment was in
the wrong place; back it out.

25 years agoRead dumpdev using sysctl(3) interface. Now savecore should work again
Luoqi Chen [Thu, 13 May 1999 04:29:09 +0000 (04:29 +0000)]
Read dumpdev using sysctl(3) interface. Now savecore should work again
after the dev_t changes.

25 years agoDevice pager's handle is dev_t not udev_t.
Luoqi Chen [Thu, 13 May 1999 04:02:07 +0000 (04:02 +0000)]
Device pager's handle is dev_t not udev_t.

25 years agofix stupid typo.
Jordan K. Hubbard [Thu, 13 May 1999 02:49:23 +0000 (02:49 +0000)]
fix stupid typo.

25 years agoFix my own Pie Floater.
Mike Smith [Wed, 12 May 1999 23:50:50 +0000 (23:50 +0000)]
Fix my own Pie Floater.

(Correctly handle 'wd' devices)

25 years agoCorrect a bug which could cause a segfault if there is no uc_devlist
Jordan K. Hubbard [Wed, 12 May 1999 23:08:02 +0000 (23:08 +0000)]
Correct a bug which could cause a segfault if there is no uc_devlist
data.

Noticed by: Bill Swingle <bill@cdrom.com>

25 years agodev is a pointer, printf it as such
Peter Wemm [Wed, 12 May 1999 22:33:08 +0000 (22:33 +0000)]
dev is a pointer, printf it as such

25 years agoTry and fix a dev_t/major/minor etc nit.
Peter Wemm [Wed, 12 May 1999 22:32:07 +0000 (22:32 +0000)]
Try and fix a dev_t/major/minor etc nit.

25 years agoTry an fix a couple of dev_t/major/minor etc nits.
Peter Wemm [Wed, 12 May 1999 22:30:50 +0000 (22:30 +0000)]
Try an fix a couple of dev_t/major/minor etc nits.

25 years agoUpdate norwegian time server.
Jordan K. Hubbard [Wed, 12 May 1999 22:06:00 +0000 (22:06 +0000)]
Update norwegian time server.

Noted by: dag

25 years agoUnbreak VESA on SMP.
Luoqi Chen [Wed, 12 May 1999 21:39:07 +0000 (21:39 +0000)]
Unbreak VESA on SMP.

25 years agoVM86_FRAMESIZE is now the size of vm86 frame, not the number of 4-byte words.
Luoqi Chen [Wed, 12 May 1999 21:30:51 +0000 (21:30 +0000)]
VM86_FRAMESIZE is now the size of vm86 frame, not the number of 4-byte words.

Requested by: Bruce

25 years agoAdd doc-supfile and www-supfile, for those who'd like to track those
Bill Fumerola [Wed, 12 May 1999 20:01:10 +0000 (20:01 +0000)]
Add doc-supfile and www-supfile, for those who'd like to track those
repositories.

On a side note, I think www should be called www-all, like all of our
other collections.

Requested By: jesusr
No Problems: jdp

25 years agoAdded some missing dependencies.
Dmitrij Tejblum [Wed, 12 May 1999 19:27:44 +0000 (19:27 +0000)]
Added some missing dependencies.

25 years agoAdjust our first timer delta according to the return
Brian Somers [Wed, 12 May 1999 19:10:22 +0000 (19:10 +0000)]
Adjust our first timer delta according to the return
from getitimer() so that times are correct for
``show timer''.

25 years agoFix (?) SPECHASH dev_t/major/minor/etc args
Peter Wemm [Wed, 12 May 1999 19:06:40 +0000 (19:06 +0000)]
Fix (?) SPECHASH dev_t/major/minor/etc args

25 years agoFix dev_t/minor problems
Peter Wemm [Wed, 12 May 1999 19:01:30 +0000 (19:01 +0000)]
Fix dev_t/minor problems

25 years agoWhen asked to get the current transfer settings go do a dev_refresh
Matt Jacob [Wed, 12 May 1999 19:00:16 +0000 (19:00 +0000)]
When asked to get the current transfer settings go do a dev_refresh
isp_update call to get a better chance at seeing whether a recent
settings change has latched up.

25 years agobe a bit more chatty about some speed negotiations
Matt Jacob [Wed, 12 May 1999 18:56:55 +0000 (18:56 +0000)]
be a bit more chatty about some speed negotiations

25 years agoAdd a min TTL flag to go along with the max TTL flag. That is, this flag
Archie Cobbs [Wed, 12 May 1999 17:28:31 +0000 (17:28 +0000)]
Add a min TTL flag to go along with the max TTL flag. That is, this flag
allows you to start tracing at a hop number other than 1.

Submitted by: Stefan `Sec` Zehl <sec@42.org>

25 years agoGrammatical fixes.
Kris Kennaway [Wed, 12 May 1999 13:48:47 +0000 (13:48 +0000)]
Grammatical fixes.

Obtained from: OpenBSD

25 years agobraino.
Poul-Henning Kamp [Wed, 12 May 1999 13:06:34 +0000 (13:06 +0000)]
braino.

25 years agoBacked out the previous commit, except for the parts that reduced
Bruce Evans [Wed, 12 May 1999 11:49:47 +0000 (11:49 +0000)]
Backed out the previous commit, except for the parts that reduced
the magicness of 200.  Cleaned up the remaining parts.  Circularisation
of the list of malloc types was a kernel bug (now fixed).  Interfering
with applications' definitions of pgtok is a system header bug (not
fixed).

25 years agoFixed corruption of the kmemstatistcs list. The first malloc()
Bruce Evans [Wed, 12 May 1999 11:11:27 +0000 (11:11 +0000)]
Fixed corruption of the kmemstatistcs list.  The first malloc()
with malloc type at the tail of the list changed the list from
linear to circular.  This seemed to cause surprisingly few problems,
but it now causes weird output from `vmstat -m', probably because
a more important malloc type is now at the tail of the list.

Fix it by abusing ks_limit instead of ks_next as a flag for being
on the list.  Don't forget to clear the flag when a malloc type is
uninit'ed.  Uninit'ing is still fundamentally broken -- it loses
history.

25 years agoProduce compiler warning if dev_t and udev_t is confused.
Poul-Henning Kamp [Wed, 12 May 1999 11:06:56 +0000 (11:06 +0000)]
Produce compiler warning if dev_t and udev_t is confused.

25 years agoDon't peek into dev_t
Poul-Henning Kamp [Wed, 12 May 1999 11:06:07 +0000 (11:06 +0000)]
Don't peek into dev_t

25 years agoFix a udev_t/dev_t mismatch which prevent paging from working.
Poul-Henning Kamp [Wed, 12 May 1999 11:05:23 +0000 (11:05 +0000)]
Fix a udev_t/dev_t mismatch which prevent paging from working.

25 years agoOops - hook the sync push diagnostics correctly.
Brian Somers [Wed, 12 May 1999 09:54:33 +0000 (09:54 +0000)]
Oops - hook the sync push diagnostics correctly.

25 years agoAllow ``host:port/udp'' devices and support ``host:port/tcp'' as
Brian Somers [Wed, 12 May 1999 09:49:12 +0000 (09:49 +0000)]
Allow ``host:port/udp'' devices and support ``host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport).  PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet).  This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().

25 years agoDriver is now ported to NetBSD.
Semen Ustimenko [Wed, 12 May 1999 09:43:09 +0000 (09:43 +0000)]
Driver is now ported to NetBSD.

Submitted by: Christos Zoulas <christos@zoulas.com>

25 years agoAdd some extra checks to make *sure* we got what we were told we got.
Jordan K. Hubbard [Wed, 12 May 1999 09:22:47 +0000 (09:22 +0000)]
Add some extra checks to make *sure* we got what we were told we got.

25 years agoCompletely change the way package_add() does its work. Now we
Jordan K. Hubbard [Wed, 12 May 1999 09:02:37 +0000 (09:02 +0000)]
Completely change the way package_add() does its work.  Now we
handle dependencies at a lower level and use package add for this.
Also made index searches stricter.

25 years agoSync with sys/i386/isa/diskslice_machdep.c revision 1.34.
KATO Takenori [Wed, 12 May 1999 08:33:22 +0000 (08:33 +0000)]
Sync with sys/i386/isa/diskslice_machdep.c revision 1.34.

25 years agoSupport divergent docs for different architectures.
Jordan K. Hubbard [Wed, 12 May 1999 08:19:54 +0000 (08:19 +0000)]
Support divergent docs for different architectures.

25 years agoPunt! This file is now architecture specific.
Jordan K. Hubbard [Wed, 12 May 1999 08:17:56 +0000 (08:17 +0000)]
Punt!  This file is now architecture specific.

25 years agoA special installation guide for the Alpha. Thanks, Doug! This is good!
Jordan K. Hubbard [Wed, 12 May 1999 08:17:03 +0000 (08:17 +0000)]
A special installation guide for the Alpha.  Thanks, Doug!  This is good!

Submitted by: Doug Rabson <dfr@freebsd.org>

25 years ago$ brucify sys/stat.h
Poul-Henning Kamp [Wed, 12 May 1999 07:55:42 +0000 (07:55 +0000)]
$ brucify sys/stat.h
_devt should be __dev_t
$

25 years ago#define udev_t dev_t in userland, so that programs which peek at
Poul-Henning Kamp [Wed, 12 May 1999 07:41:49 +0000 (07:41 +0000)]
#define udev_t dev_t in userland, so that programs which peek at
vnodes and stuff compile.  They may still not work however.

25 years agoFix dumpon. It passes a udev_t from userland to kernel, that needs a
Poul-Henning Kamp [Wed, 12 May 1999 07:40:50 +0000 (07:40 +0000)]
Fix dumpon.  It passes a udev_t from userland to kernel, that needs a
udev2dev() before we use it.

It really should pass a name like swapon does.

25 years agoErm, delete the package base hint again. Gotta lay off the crack!
Jordan K. Hubbard [Wed, 12 May 1999 07:12:01 +0000 (07:12 +0000)]
Erm, delete the package base hint again.  Gotta lay off the crack!

I simply forgot that I'd already proven this to be a "really good idea that
unfortunately didn't work at all" the *last* time I tried it.  Now
I remember.  Hmmm.  I WILL defeat this evil problem.

25 years agoWe don't bundle the XFree86 release notes on the floppies anymore; take it
Jordan K. Hubbard [Wed, 12 May 1999 06:58:18 +0000 (06:58 +0000)]
We don't bundle the XFree86 release notes on the floppies anymore; take it
out of the appropriate menus.

25 years agoBrucify.
Dag-Erling Smørgrav [Wed, 12 May 1999 06:57:07 +0000 (06:57 +0000)]
Brucify.

25 years agoSet PKG_ADD_BASE hint in a certain case.
Jordan K. Hubbard [Wed, 12 May 1999 06:11:32 +0000 (06:11 +0000)]
Set PKG_ADD_BASE hint in a certain case.

25 years agoRevive the PKG_ADD_BASE stuff a bit.
Jordan K. Hubbard [Wed, 12 May 1999 06:06:49 +0000 (06:06 +0000)]
Revive the PKG_ADD_BASE stuff a bit.

25 years agoUpdated a comment (Crtat is no longer bogusly shared with syscons).
Bruce Evans [Wed, 12 May 1999 04:59:27 +0000 (04:59 +0000)]
Updated a comment (Crtat is no longer bogusly shared with syscons).

Don't declare a nonexistent variable.

25 years agoFix a couple of bogons in the X server/desktop setup menus.
Jordan K. Hubbard [Wed, 12 May 1999 04:52:41 +0000 (04:52 +0000)]
Fix a couple of bogons in the X server/desktop setup menus.

25 years agoRemoved global variable `Crtat'. This was once (bogusly) shared with
Bruce Evans [Wed, 12 May 1999 04:45:56 +0000 (04:45 +0000)]
Removed global variable `Crtat'.  This was once (bogusly) shared with
pcvt, but it had rotted into unuse here, and of course its type had
become inconsisent with its type in pcvt.

Fixed some minor style bugs.

25 years agoDivorce "dev_t" from the "major|minor" bitmap, which is now called
Poul-Henning Kamp [Tue, 11 May 1999 19:55:07 +0000 (19:55 +0000)]
Divorce "dev_t" from the "major|minor" bitmap, which is now called
udev_t in the kernel but still called dev_t in userland.

Provide functions to manipulate both types:
        major()         umajor()
        minor()         uminor()
        makedev()       umakedev()
        dev2udev()      udev2dev()

For now they're functions, they will become in-line functions
after one of the next two steps in this process.

Return major/minor/makedev to macro-hood for userland.

Register a name in cdevsw[] for the "filedescriptor" driver.

In the kernel the udev_t appears in places where we have the
major/minor number combination, (ie: a potential device: we
may not have the driver nor the device), like in inodes, vattr,
cdevsw registration and so on, whereas the dev_t appears where
we carry around a reference to a actual device.

In the future the cdevsw and the aliased-from vnode will be hung
directly from the dev_t, along with up to two softc pointers for
the device driver and a few houskeeping bits.  This will essentially
replace the current "alias" check code (same buck, bigger bang).

A little stunt has been provided to try to catch places where the
wrong type is being used (dev_t vs udev_t), if you see something
not working, #undef DEVT_FASCIST in kern/kern_conf.c and see if
it makes a difference.  If it does, please try to track it down
(many hands make light work) or at least try to reproduce it
as simply as possible, and describe how to do that.

Without DEVT_FASCIST I belive this patch is a no-op.

Stylistic/posixoid comments about the userland view of the <sys/*.h>
files welcome now, from userland they now contain the end result.

Next planned step: make all dev_t's refer to the same devsw[] which
means convert BLK's to CHR's at the perimeter of the vnodes and
other places where they enter the game (bootdev, mknod, sysctl).

25 years agoOops, the correct commit message is:
Dmitrij Tejblum [Tue, 11 May 1999 19:02:52 +0000 (19:02 +0000)]
Oops, the correct commit message is:
remove unused variable db_recover.

25 years agoOops, back out previous, it is not quite ready for commit and has nothing
Dmitrij Tejblum [Tue, 11 May 1999 18:59:56 +0000 (18:59 +0000)]
Oops, back out previous, it is not quite ready for commit and has nothing
to do with the commit message.

25 years agoInitialize bootifo.envp, so that the kernel environment can be used.
Dmitrij Tejblum [Tue, 11 May 1999 18:55:18 +0000 (18:55 +0000)]
Initialize bootifo.envp, so that the kernel environment can be used.

Set kernelname. Get it as getenv("kernelname"), bootinfo.booted_kernel does
not contain path to the directory.

25 years agoYet another place I missed when increasing trapframe size, which causes problem
Luoqi Chen [Tue, 11 May 1999 16:29:21 +0000 (16:29 +0000)]
Yet another place I missed when increasing trapframe size, which causes problem
to SIGFPE handling.

Reviewed by: Bruce Evans <bde@zeta.org.au>

25 years ago"fix" warning. This still needs to be kld-ified some day (or removed).
Peter Wemm [Tue, 11 May 1999 16:07:16 +0000 (16:07 +0000)]
"fix" warning.  This still needs to be kld-ified some day (or removed).

25 years agoDo not hardcode size of struct vm86frame.
Luoqi Chen [Tue, 11 May 1999 16:04:40 +0000 (16:04 +0000)]
Do not hardcode size of struct vm86frame.

Submitted by: Jonathan Lemon <jlemon@americantv.com>