]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoStyle clean-up:
Sheldon Hearn [Wed, 25 Aug 1999 16:01:45 +0000 (16:01 +0000)]
Style clean-up:

* All variables are now embraced: ${foo}

* All comparisons against some value now take the form:
  [ "${foo}" ? "value" ]
  where ? is a comparison operator

* All empty string tests now take the form:
  [ -z "${foo}" ]

* All non-empty string tests now take the form:
  [ -n "${foo}" ]

Submitted by: jkh

25 years agoFix linux_newlstat in that it doesn't return the attributes of its containing
Marcel Moolenaar [Wed, 25 Aug 1999 15:23:54 +0000 (15:23 +0000)]
Fix linux_newlstat in that it doesn't return the attributes of its containing
directory. Also, update arguments of NDINIT for both newstat and newlstat.

While I'm at it, fix style bugs in all {s|ls|fs}tat syscalls.

Reported by: bde

25 years agoDocument apmd stuff.
Mitsuru IWASAKI [Wed, 25 Aug 1999 15:13:24 +0000 (15:13 +0000)]
Document apmd stuff.

25 years agoRemove obsolete BUGS section which describes something which stopped
Jordan K. Hubbard [Wed, 25 Aug 1999 14:38:58 +0000 (14:38 +0000)]
Remove obsolete BUGS section which describes something which stopped
being relevant when we ripped out the BSD/VAX code.

Submitted by: Guy Harris <gharris@flashcom.net>

25 years agoDeclaration of strtouq() is not missing from stdlib.h, so don't redeclare
Dmitrij Tejblum [Wed, 25 Aug 1999 14:22:20 +0000 (14:22 +0000)]
Declaration of strtouq() is not missing from stdlib.h, so don't redeclare
it.

25 years agoFix {g|s}etgroups semantics. We use cr_groups[0] to hold egid. This means that
Marcel Moolenaar [Wed, 25 Aug 1999 14:11:01 +0000 (14:11 +0000)]
Fix {g|s}etgroups semantics. We use cr_groups[0] to hold egid. This means that
egid will be twice in the set and that setting cr_groups[0] will change egid.
This is simply solved by ignoring cr_groups[0]. That is; linux_getgroups does
not return cr_groups[0] and linux_setgroups does not touch it.

Noticed by: bde
Brought to my attention by: sheldonh

25 years agoFix lingo: 'is not implemented or obsoleted' is not the same as 'is obsoleted
Marcel Moolenaar [Wed, 25 Aug 1999 13:17:05 +0000 (13:17 +0000)]
Fix lingo: 'is not implemented or obsoleted' is not the same as 'is obsoleted
or not implemented'.

25 years agoIntroduce vn_isdisk(struct vnode *vp) function, and use it to test for diskness.
Poul-Henning Kamp [Wed, 25 Aug 1999 12:24:39 +0000 (12:24 +0000)]
Introduce vn_isdisk(struct vnode *vp) function, and use it to test for diskness.

25 years agoAdd a couple of missing but unimportant break; statements.
Poul-Henning Kamp [Wed, 25 Aug 1999 11:44:11 +0000 (11:44 +0000)]
Add a couple of missing but unimportant break; statements.

25 years agoChange all UNIMPL syscalls to STD and add them to linux_dummy. Now we always
Marcel Moolenaar [Wed, 25 Aug 1999 11:19:03 +0000 (11:19 +0000)]
Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we always
know if and when an unimplemented or obsoleted syscall is being used. Make the
message more end-user friendly.

And as long as we're here, rename some unimplemeted syscalls (linux_phys ->
linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86).

Change prototype for linux_newuname from `struct linux_newuname_t *' into
`struct linux_new_utsname *'. This change is reflected in linux.h and
linux_misc.c.

25 years agoChange all UNIMPL syscalls to STD and add them to linux_dummy. Now we always
Marcel Moolenaar [Wed, 25 Aug 1999 11:17:36 +0000 (11:17 +0000)]
Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we always
know if and when an unimplemented or obsoleted syscall is being used. Make the
message more end-user friendly.

And as long as we're here, rename some unimplemeted syscalls (linux_phys ->
linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86).

Change prototype for linux_newuname from `struct linux_newuname_t *' into
`struct linux_new_utsname *'. This change is reflected in linux.h and
linux_misc.c.

Lastly, make line-continuation and indentation more uniform.

25 years agoFix stack misalignment for Linux binaries caused by `linux_sigcode' not being
Marcel Moolenaar [Wed, 25 Aug 1999 09:05:29 +0000 (09:05 +0000)]
Fix stack misalignment for Linux binaries caused by `linux_sigcode' not being
a multiple of 4 bytes in size. This solves the recent SIGBUS errors for
glibc2.1 configurations.

Explained by: bde

25 years agoSort cross-references. Move mount(8) down the list where it belongs, in
Chris Costello [Wed, 25 Aug 1999 08:45:31 +0000 (08:45 +0000)]
Sort cross-references.  Move mount(8) down the list where it belongs, in
particular.

25 years agoSome very minor changes to the ISA dma code.
Doug Rabson [Wed, 25 Aug 1999 08:25:58 +0000 (08:25 +0000)]
Some very minor changes to the ISA dma code.

25 years agoRename 'bios_jmp' to 'bios16_jmp' to make it clear what it's related to.
Mike Smith [Wed, 25 Aug 1999 06:56:37 +0000 (06:56 +0000)]
Rename 'bios_jmp' to 'bios16_jmp' to make it clear what it's related to.

25 years agoUse the far jump for the base of the page arithmatic rather than the
Peter Wemm [Wed, 25 Aug 1999 06:44:32 +0000 (06:44 +0000)]
Use the far jump for the base of the page arithmatic rather than the
calling function, otherwise Bad Things Happen(tm) when bios16_call is
not in the same page as bios_jmp.

Reviewed by:  msmith

25 years agoMake DEVFS use PHK's specinfo struct as the source of dev_t and devsw.
Julian Elischer [Wed, 25 Aug 1999 04:55:20 +0000 (04:55 +0000)]
Make DEVFS use PHK's specinfo struct as the source of dev_t and devsw.

In lookup() however it's the other way around as we need to supply the
dev_t for the vnode, so devfs still has a copy of it stashed away.

Sourcing it from the vnode in the vnops however is useful as it makes
a lot of the code almost the same as that in specfs.

25 years agoTry to get /usr/include/readline back into the snapshots.
David E. O'Brien [Wed, 25 Aug 1999 03:40:55 +0000 (03:40 +0000)]
Try to get /usr/include/readline back into the snapshots.

Submitted by: bde

25 years agoDon't open the swap file. The open descriptor for it hasn't been used
Bruce Evans [Wed, 25 Aug 1999 03:01:54 +0000 (03:01 +0000)]
Don't open the swap file.  The open descriptor for it hasn't been used
for over 5 years since we switched to using procfs for kvm_uread().
This cleanup was motivated by recent breakage of the default swap file
(/dev/drum) when swapon() has not been called.

25 years agoMake DEVFS ops reflect some of the changes that have recently occured in the
Julian Elischer [Wed, 25 Aug 1999 02:04:40 +0000 (02:04 +0000)]
Make DEVFS ops reflect some of the changes that have recently occured in the
specfs version of the same ops. Merging with phk's dev_t changes is not yet
complete.

i.e. devfs still uses it's own devsw pointer rather than following
devsw(a_vp->v_rdev), and it's own copy of the dev_t.

This fixes some broken actions re: syscons and DEVFS due to bitrot in
devfs vops.

25 years agoAdd missing quote.
Doug White [Wed, 25 Aug 1999 01:12:55 +0000 (01:12 +0000)]
Add missing quote.

25 years agoFix comment to match reality..
Julian Elischer [Wed, 25 Aug 1999 00:26:34 +0000 (00:26 +0000)]
Fix comment to match reality..
vop_strategy gets a vnode argument these days.

25 years agoFix patch so it applies without asking for a filename.
Doug White [Tue, 24 Aug 1999 23:28:26 +0000 (23:28 +0000)]
Fix patch so it applies without asking for a filename.

25 years agoDevfs now adds itself to the hook that PHK supplies.
Julian Elischer [Tue, 24 Aug 1999 20:30:15 +0000 (20:30 +0000)]
Devfs now adds itself to the hook that PHK supplies.
block devices are still not handled correctly, though a kludge
may make them "ok".

25 years agoInitialize the si_bsize fields for the MFS bogodevices.
Poul-Henning Kamp [Tue, 24 Aug 1999 18:35:33 +0000 (18:35 +0000)]
Initialize the si_bsize fields for the MFS bogodevices.

(This broke MFS rootfs and thereby installation)

25 years agoRemove unneeded prototypes.
Poul-Henning Kamp [Tue, 24 Aug 1999 18:31:06 +0000 (18:31 +0000)]
Remove unneeded prototypes.

25 years agoWork around a bad design in some PnP BIOS code whereby the BIOS can reach
Mike Smith [Tue, 24 Aug 1999 16:42:08 +0000 (16:42 +0000)]
Work around a bad design in some PnP BIOS code whereby the BIOS can reach
off the top of our constructed stack segment while it's trying to copy a
maximally-sized PnP argument frame around.

25 years agoMove ipxrouted.dmp from /tmp to /var/log to make it more difficult to hijack.
John Hay [Tue, 24 Aug 1999 13:15:39 +0000 (13:15 +0000)]
Move ipxrouted.dmp from /tmp to /var/log to make it more difficult to hijack.

PR: 13286

25 years agoFix bug introduced in rev 1.28, which causes kernel build to break for
Sheldon Hearn [Tue, 24 Aug 1999 08:39:41 +0000 (08:39 +0000)]
Fix bug introduced in rev 1.28, which causes kernel build to break for
the case where DEBUG is defined but not DIAGNOSTIC. ffs_checkblk is
declared conditionally on DIAGNOSTIC, not DEBUG.

PR: 13314
Reviewed by: bde

25 years agoCosmetic: Correct the Id string.
Alan Cox [Tue, 24 Aug 1999 06:54:20 +0000 (06:54 +0000)]
Cosmetic: Correct the Id string.

Submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>

25 years agoMake the comments nice, short-but-sweet XXX format.
Brian Feldman [Tue, 24 Aug 1999 06:10:14 +0000 (06:10 +0000)]
Make the comments nice, short-but-sweet XXX format.

Submitted by: sheldonh

25 years agoWhen the SYSINIT() was removed, it was replaced with a make_dev on-demand
Brian Feldman [Tue, 24 Aug 1999 05:58:35 +0000 (05:58 +0000)]
When the SYSINIT() was removed, it was replaced with a make_dev on-demand
creation of /dev/drum via calling swapon. However, the make_dev has a
bogus (insofar that it hasn't been added yet) cdevsw, so later we end
up crashing with a null pointer dereference on the swap vp's specinfo.
The specinfo points to a dev_t with a major of 254 (uninitialized), and
we get a crash on its d_strategy being called.

The simple solution to this is to call cdevsw_add before the make_dev
is ever used. This fixes the panic which occurred upon swapping.

25 years agoCorrect the mode information for the VGA mode X.
Kazutaka YOKOTA [Tue, 24 Aug 1999 04:26:54 +0000 (04:26 +0000)]
Correct the mode information for the VGA mode X.
- This mode uses four planes rather than one.
- "# of bytes in a scan line" = "# of pixels in the line"/2

25 years agoThis cleans up all the white space errors so that the next
Rodney W. Grimes [Tue, 24 Aug 1999 03:51:34 +0000 (03:51 +0000)]
This cleans up all the white space errors so that the next
commit is easier to understand.

25 years agoChange PN_RXLEN from 1518 bytes to 1536 bytes. The chip always DMAs data
Bill Paul [Tue, 24 Aug 1999 03:19:45 +0000 (03:19 +0000)]
Change PN_RXLEN from 1518 bytes to 1536 bytes. The chip always DMAs data
in 4 byte chunks. It turns out that with the 82c169C on the Netgear
FA-310TX Rev D2, if you tell the chip you have reserved a buffer of 1518
bytes, it will actually treat it as 1516 bytes since 1518 is divisible
by four. Consequently, a packet of 1514 bytes will always end up consuming
two buffers: the last coupleof bytes will spill over into the next
descriptor. This causes the pn_rx_bug_war() routine to trip unnecessarily.

I'm not sure if the 82c169B or 82c168 chips behave the same way; I'll
have to check them. In any case, this change should work just as well
with them. Note that the FA-310TX Rev D2 also has a Broadcom PHY
instead of a Level One LXT970 PHY, however this shouldn't make any
difference as far as the driver is concerned.

This change also allows me to do a way with one rounding overation in
pn_rx-buf_war().

25 years agoDocument the setstate command.
Greg Lehey [Tue, 24 Aug 1999 02:36:23 +0000 (02:36 +0000)]
Document the setstate command.

25 years agoChange declaration for initsd.
Greg Lehey [Tue, 24 Aug 1999 02:35:07 +0000 (02:35 +0000)]
Change declaration for initsd.

Add declarations for vinum_setstate, vinum_checkparity and
vinum_rebuildparity.

25 years agoparseline(): Reset the -w flag.
Greg Lehey [Tue, 24 Aug 1999 02:33:55 +0000 (02:33 +0000)]
parseline(): Reset the -w flag.

continue_revive: Implement the -w flag.

25 years agovinum_info(): Add support for logging subdisk I/O.
Greg Lehey [Tue, 24 Aug 1999 02:32:57 +0000 (02:32 +0000)]
vinum_info(): Add support for logging subdisk I/O.

25 years agoTidy up some indentation and comments.
Greg Lehey [Tue, 24 Aug 1999 02:31:19 +0000 (02:31 +0000)]
Tidy up some indentation and comments.

vinum_init(): Change name of variable plexindex to objindex, which
      better describes its purpose.

initsd(): Add a second parameter to determine whether it should wait
  for completion or not.  This allows it to DTRT when called
  with the -w flag either directly or via initplex().

Add 'setstate' command (function vinum_setstate ()) to implement the
VINUM_SETSTATE_FORCE ioctl for diddling individual object states.
This is a repair tool which can also be used for panicing the system.
Use with utmost care if at all.

Add unimplemented commands 'checkparity' and 'rebuildparity'.  Watch
this space.

25 years agoset_sd_state: Correct the conditions for bringing up empty or
Greg Lehey [Tue, 24 Aug 1999 02:29:41 +0000 (02:29 +0000)]
set_sd_state: Correct the conditions for bringing up empty or
      initialized subdisks.

Tidy up some comments.

Eliminate sddownstate(); it wasn't being used any more.  Return
REQUEST_DOWN instead.

Add setstate_by_force() to implement the VINUM_SETSTATE_FORCE ioctl
for diddling individual object states.  This is a repair tool which
can also be used for panicing the system.  Use with utmost care if at
all.

25 years agoLock stripes of striped and RAID-5 plexes before writing them. This
Greg Lehey [Tue, 24 Aug 1999 02:28:37 +0000 (02:28 +0000)]
Lock stripes of striped and RAID-5 plexes before writing them.  This
avoids a race condition where multiple RAID-5 subdisks are being
revived at the same time.  The locks should also prevent conflicts
with user requests on concatenated and striped plexes, but this needs
more work.

Tidy up some comments.

25 years agoAdd keywords setstate, checkparity, rebuildparity.
Greg Lehey [Tue, 24 Aug 1999 02:27:45 +0000 (02:27 +0000)]
Add keywords setstate, checkparity, rebuildparity.

25 years agoAdd VINUM_SETSTATE_FORCE ioctl for diddling individual object states.
Greg Lehey [Tue, 24 Aug 1999 02:26:15 +0000 (02:26 +0000)]
Add VINUM_SETSTATE_FORCE ioctl for diddling individual object states.
This is a repair tool which can also be used for panicing the system.
Use with utmost care if at all.

25 years agoformat_config: print preferred plex correctly.
Greg Lehey [Tue, 24 Aug 1999 02:24:47 +0000 (02:24 +0000)]
format_config: print preferred plex correctly.

25 years agoChange parameters of unlockrange to allow calling from revive_block,
Greg Lehey [Tue, 24 Aug 1999 02:23:21 +0000 (02:23 +0000)]
Change parameters of unlockrange to allow calling from revive_block,
which doesn't use request groups.

25 years agoAdd declaration for vinum_setstate_by_force.
Greg Lehey [Tue, 24 Aug 1999 02:21:46 +0000 (02:21 +0000)]
Add declaration for vinum_setstate_by_force.

25 years agogive_sd_to_drive: If we don't have space, deallocate the subdisk.
Greg Lehey [Tue, 24 Aug 1999 02:20:30 +0000 (02:20 +0000)]
give_sd_to_drive: If we don't have space, deallocate the subdisk.
                  Previously we could end up with a valid subdisk
                  entry pointing to offset -1 on the drive.

25 years agovinumclose: close raw plexes and subdisks.
Greg Lehey [Tue, 24 Aug 1999 02:18:55 +0000 (02:18 +0000)]
vinumclose: close raw plexes and subdisks.

25 years agoAdd support for logging subdisk I/O.
Greg Lehey [Tue, 24 Aug 1999 02:17:42 +0000 (02:17 +0000)]
Add support for logging subdisk I/O.

Change parameters of unlockrange to allow calling from revive_block,
which doesn't use request groups.

25 years agoThis commit was generated by cvs2svn to compensate for changes in r50276,
Peter Wemm [Tue, 24 Aug 1999 01:06:48 +0000 (01:06 +0000)]
This commit was generated by cvs2svn to compensate for changes in r50276,
which included commits to RCS files with non-trunk default branches.

25 years agoImport unmodified (but trimmed) ncurses 5.0 prerelease 990821.
Peter Wemm [Tue, 24 Aug 1999 01:06:48 +0000 (01:06 +0000)]
Import unmodified (but trimmed) ncurses 5.0 prerelease 990821.
This contains the full eti (panel, form, menu) extensions.
bmake glue to follow.

Obtained from: ftp://ftp.clark.net/pub/dickey/ncurses

25 years agoCast pointers to uintptr_t instead of casting them to u_long, and/or vice
Bruce Evans [Tue, 24 Aug 1999 00:56:50 +0000 (00:56 +0000)]
Cast pointers to uintptr_t instead of casting them to u_long, and/or vice
versa.  Cosmetic.

25 years agoCast pointers to [u]intptr_t instead of casting them to [u_]long. Don't
Bruce Evans [Tue, 24 Aug 1999 00:48:19 +0000 (00:48 +0000)]
Cast pointers to [u]intptr_t instead of casting them to [u_]long.  Don't
depend on gcc's feature of casting lvalues, especially for direct
assignment where it doesn't even simplify the syntax.  Cosmetic.

25 years agoCast pointers to uintptr_t instead of casting them to u_long. They
Bruce Evans [Tue, 24 Aug 1999 00:38:52 +0000 (00:38 +0000)]
Cast pointers to uintptr_t instead of casting them to u_long.  They
are still converted to u_long by assignment of the uintptr_t, and
address calculations are still done using u_long.  This is OK for
currently supported machines, but addresses should be represented
by vm_offset_t or uintptr_t in case pointers are longer than longs.

"Fixed" size of linker_path[].  MAXPATHLEN + 1 was 1 too large for
search paths with only one file path in them, but much too small
for search paths with several long file paths in them.

25 years agoFixed a misplaced cast to uintptr_t. Cosmetic.
Bruce Evans [Tue, 24 Aug 1999 00:22:10 +0000 (00:22 +0000)]
Fixed a misplaced cast to uintptr_t.  Cosmetic.

Use device_get_nameunit() instead of rolling our own.

25 years agoCast pointers to uintptr_t instead of casting them to u_long. Don't
Bruce Evans [Tue, 24 Aug 1999 00:04:45 +0000 (00:04 +0000)]
Cast pointers to uintptr_t instead of casting them to u_long.  Don't
depend on gcc's feature of casting lvalues.  Cosmetic.

25 years agoUse devtoname to print dev_t's instead of casting them to u_long for
Bruce Evans [Mon, 23 Aug 1999 23:55:03 +0000 (23:55 +0000)]
Use devtoname to print dev_t's instead of casting them to u_long for
misprinting with %lx.

Cast pointers to intptr_t instead of casting them to long.  Cosmetic.

25 years ago`bootdev' is an ordinary u_long, so don't cast it to a pointer to print it.
Bruce Evans [Mon, 23 Aug 1999 23:42:00 +0000 (23:42 +0000)]
`bootdev' is an ordinary u_long, so don't cast it to a pointer to print it.
gcc warns about the cast on i386's with 64-bit longs.

Print `bootdev' in all cases when we bail out because it is unreasonable.

25 years agoCosmetic: bring closer to RELENG_3
Brian Somers [Mon, 23 Aug 1999 23:13:59 +0000 (23:13 +0000)]
Cosmetic:  bring closer to RELENG_3

25 years agoImplement a version of s_lock_try that doesn't cause the next s_lock
Alan Cox [Mon, 23 Aug 1999 22:25:11 +0000 (22:25 +0000)]
Implement a version of s_lock_try that doesn't cause the next s_lock
call to panic when SL_DEBUG is set.  (SL_DEBUG is currently set
by default.)

25 years agoOops, the previous commit was missing a new include.
Bruce Evans [Mon, 23 Aug 1999 22:05:49 +0000 (22:05 +0000)]
Oops, the previous commit was missing a new include.

25 years agoComplain if this file is included.
Poul-Henning Kamp [Mon, 23 Aug 1999 21:51:21 +0000 (21:51 +0000)]
Complain if this file is included.

25 years agoNow that we can bind cdevsw to the individual dev_t, divorce the PERFMON
Poul-Henning Kamp [Mon, 23 Aug 1999 21:34:23 +0000 (21:34 +0000)]
Now that we can bind cdevsw to the individual dev_t, divorce the PERFMON
stuff from mem.c.  If PERFMON is there, it will "steal" a minor from
mem.c, but mem.c doesn't need to know about this.

Fixed type of cmd argument in perfmon_ioctl().

25 years agoInitialise fsids with (user) device numbers again. Bitrot when dev_t's
Bruce Evans [Mon, 23 Aug 1999 21:07:13 +0000 (21:07 +0000)]
Initialise fsids with (user) device numbers again.  Bitrot when dev_t's
were changed to pointers was obscured by casting dev_t's to longs.
fsids haven't even been comprised of longs since the Lite2 merge.

25 years agoReset the UHCI controller when the device comes back from suspend.
Nick Hibma [Mon, 23 Aug 1999 21:00:08 +0000 (21:00 +0000)]
Reset the UHCI controller when the device comes back from suspend.

This should be replaced by proper support for suspend one day (global
suspend).

Submitted-by: Christopher Masto <chris@netmonger.net>
25 years agoConvert DEVFS hooks in (most) drivers to make_dev().
Poul-Henning Kamp [Mon, 23 Aug 1999 20:59:21 +0000 (20:59 +0000)]
Convert DEVFS hooks in (most) drivers to make_dev().

Diskslice/label code not yet handled.

Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)

Add the correct hook for devfs to kern_conf.c

The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.

A few drivers had minor additional cleanups performed relating to cdevsw
registration.

A few drivers don't register a cdevsw{} anymore, but only use make_dev().

25 years agoUse devtoname() to print dev_t's instead of casting them to long or u_long
Bruce Evans [Mon, 23 Aug 1999 20:35:21 +0000 (20:35 +0000)]
Use devtoname() to print dev_t's instead of casting them to long or u_long
for misprinting in %lx format.

25 years agoThe nexus_attach() code works a lot better if it's actually connected to
Peter Wemm [Mon, 23 Aug 1999 19:23:33 +0000 (19:23 +0000)]
The nexus_attach() code works a lot better if it's actually connected to
the device methods... Also, don't fail to add eisa/isa because a previous
device failed to attach.

25 years agoModify the macros IMASK_UNLOCK, CPL_UNLOCK, and REL_FAST_INTR_LOCK
Alan Cox [Mon, 23 Aug 1999 19:14:18 +0000 (19:14 +0000)]
Modify the macros IMASK_UNLOCK, CPL_UNLOCK, and REL_FAST_INTR_LOCK
to perform the s_unlock inline.

25 years agoAdd 'options MFS_ROOT' back in to kernel configs -- not going to get far
Doug White [Mon, 23 Aug 1999 18:49:52 +0000 (18:49 +0000)]
Add 'options MFS_ROOT' back in to kernel configs -- not going to get far
without that!

25 years agoCorrect the inconsistent formatting in struct vm_map.
Alan Cox [Mon, 23 Aug 1999 18:16:05 +0000 (18:16 +0000)]
Correct the inconsistent formatting in struct vm_map.

Addendum to rev 1.47: submitted by dillon.

25 years agostruct vm_map:
Alan Cox [Mon, 23 Aug 1999 18:08:34 +0000 (18:08 +0000)]
struct vm_map:
The lock structure cannot be the first element of the vm_map
because this can result in livelock between two or more system
processes trying to kmem_alloc_wait.

25 years agoRecognise the GPS receiver from Trimble
Nick Hibma [Mon, 23 Aug 1999 14:49:22 +0000 (14:49 +0000)]
Recognise the GPS receiver from Trimble
in NMEA mode (without date).

        Trimble OEM Ace-II receiver. Low cost PCB with single
        voltage input, external active antenna and two serial
        ports with either NMEA and ITAPs output. Programmable
        to be tuned for 'time' accuracy in fixed station config.

Author of tool notified.

Submitted by: Dirk van Gulik <dirk.vangulik@jrc.it>

25 years ago- Make binary size smaller.
KATO Takenori [Mon, 23 Aug 1999 13:54:35 +0000 (13:54 +0000)]
- Make binary size smaller.
- Fix typo in TDK/LANX stuff.

Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)

25 years agoFix a mistake in my last SA_SIGINFO commit. Processes could block
Martin Cracauer [Mon, 23 Aug 1999 13:53:25 +0000 (13:53 +0000)]
Fix a mistake in my last SA_SIGINFO commit. Processes could block
SIGKILL and SIGSTOP.

PR: kern/13293
Submitted by: dwmalone@maths.tcd.ie
Obtained from: PR had correct fix

25 years agoUpdated to new keyboard driver.
KATO Takenori [Mon, 23 Aug 1999 13:50:08 +0000 (13:50 +0000)]
Updated to new keyboard driver.

Submitted by: yokota & nyan

25 years agoMerge from sys/dev/syscons/syscons.c revision 1.319.
KATO Takenori [Mon, 23 Aug 1999 13:45:28 +0000 (13:45 +0000)]
Merge from sys/dev/syscons/syscons.c revision 1.319.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

25 years agoMerge from sys/i386/isa/npx.c revision 1.76.
KATO Takenori [Mon, 23 Aug 1999 13:42:22 +0000 (13:42 +0000)]
Merge from sys/i386/isa/npx.c revision 1.76.

25 years agoMerge from sys/i386/i386/userconfig.c revision 1.153.
KATO Takenori [Mon, 23 Aug 1999 13:41:00 +0000 (13:41 +0000)]
Merge from sys/i386/i386/userconfig.c revision 1.153.

25 years agoMerge from sys/i386/conf/options.i386 revision .1.20.
KATO Takenori [Mon, 23 Aug 1999 13:39:32 +0000 (13:39 +0000)]
Merge from sys/i386/conf/options.i386 revision .1.20.

25 years agoFix a few problems on the Alpha, and fix -Wall while here.
Peter Wemm [Mon, 23 Aug 1999 12:59:03 +0000 (12:59 +0000)]
Fix a few problems on the Alpha, and fix -Wall while here.
Before:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xffffffffc6931080 ...
After:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xc6931080 ...

25 years agoCorrect xref: setlocal -> setlocale(3).
Sheldon Hearn [Mon, 23 Aug 1999 12:55:19 +0000 (12:55 +0000)]
Correct xref: setlocal -> setlocale(3).

PR: 13321
Submitted by: Alexey Zelkin <phantom@cris.net>

25 years agoDisable some apparently stray debug printfs:
Peter Wemm [Mon, 23 Aug 1999 12:08:45 +0000 (12:08 +0000)]
Disable some apparently stray debug printfs:
ahc0: <Adaptec 274X SCSI host adapter> at 0x1c00-0x1cff, irq 11 (edge)
ahc0: on eisa0 slot 1
ahc0: aic7770 >= Rev E, SBLKCTL = 0x8
SSTAT0 = 0x0
SFUNCT = 0x0
Twin Channel, A SCSI Id=7, B SCSI Id=7, primary A, 4/255 SCBs

Not objected to by: gibbs

25 years agoDocument ENOSYS error.
Chris Costello [Mon, 23 Aug 1999 11:07:29 +0000 (11:07 +0000)]
Document ENOSYS error.

PR: docs/13290

25 years agoAdd new option to fdisk: -e
Poul-Henning Kamp [Mon, 23 Aug 1999 11:06:19 +0000 (11:06 +0000)]
Add new option to fdisk: -e

This wipes the MBR and creates slice 1 as a FreeBSD slice covering the
disk starting from the second track to the cylinder aligned end of the disk.

This is the most compatibly layout we have as far as I know.

25 years agoAdd missing files from previous commits.
Luigi Rizzo [Mon, 23 Aug 1999 11:04:23 +0000 (11:04 +0000)]
Add missing files from previous commits.

25 years agoAdd missing file from previous commit
Luigi Rizzo [Mon, 23 Aug 1999 11:02:08 +0000 (11:02 +0000)]
Add missing file from previous commit

25 years agoRemove some files probably forgotten from previous commit.
Luigi Rizzo [Mon, 23 Aug 1999 10:23:32 +0000 (10:23 +0000)]
Remove some files probably forgotten from previous commit.

25 years agoAdd missing files probably forgotten in previous commit
Luigi Rizzo [Mon, 23 Aug 1999 10:19:15 +0000 (10:19 +0000)]
Add missing files probably forgotten in previous commit

25 years agoAdd missing files probably forgotten in previous commit
Luigi Rizzo [Mon, 23 Aug 1999 10:13:06 +0000 (10:13 +0000)]
Add missing files probably forgotten in previous commit

25 years agoAdd missing file probably forgotten from previous commit
Luigi Rizzo [Mon, 23 Aug 1999 10:05:20 +0000 (10:05 +0000)]
Add missing file probably forgotten from previous commit

25 years agoFix the breakage caused by hanging softc off dev_t. This is only
Poul-Henning Kamp [Mon, 23 Aug 1999 09:35:12 +0000 (09:35 +0000)]
Fix the breakage caused by hanging softc off dev_t.  This is only
a workaround.

25 years agoMore cleanup: move device entries in Picobsd makefiles in a more
Luigi Rizzo [Mon, 23 Aug 1999 08:52:05 +0000 (08:52 +0000)]
More cleanup: move device entries in Picobsd makefiles in a more
accessible place.

25 years agoAdditional cleanup of the picobsd scripts.
Luigi Rizzo [Mon, 23 Aug 1999 08:33:08 +0000 (08:33 +0000)]
Additional cleanup of the picobsd scripts.
Also bump Version to 0.445

25 years agoBacked out my -n change to imply -l by request of sheldonh.
Chris Costello [Mon, 23 Aug 1999 05:39:40 +0000 (05:39 +0000)]
Backed out my -n change to imply -l by request of sheldonh.

25 years agoFix script in README to actually work, empty lines produce as
Rodney W. Grimes [Mon, 23 Aug 1999 05:12:43 +0000 (05:12 +0000)]
Fix script in README to actually work, empty lines produce as
much a diff as lines with the wrong stuff on it.

Add references in mtree data files to the README.

25 years agoMake -n flag compliant to the Single Unix Specification.
Chris Costello [Mon, 23 Aug 1999 01:17:58 +0000 (01:17 +0000)]
Make -n flag compliant to the Single Unix Specification.

To quote their ls(1) specification:

   -n
          The same as -l, except that the owner's UID and GID numbers are
          written, rather than the associated character strings.

Reviewed by: green

25 years agoAn explination of how to keep these files in good working order.
Rodney W. Grimes [Mon, 23 Aug 1999 01:16:26 +0000 (01:16 +0000)]
An explination of how to keep these files in good working order.

Reviewed by: bde

25 years agoRemove cross-reference to removed man page od.4
Chris Costello [Sun, 22 Aug 1999 23:52:01 +0000 (23:52 +0000)]
Remove cross-reference to removed man page od.4

sd(4) reference was also removed in the sentence:
  "In general the interfaces are similar to
   those described by wd(4) sd(4) and od(4)."