]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agomdoc(7) police: split punctuation characters + misc fixes.
ru [Thu, 1 Feb 2001 16:38:02 +0000 (16:38 +0000)]
mdoc(7) police: split punctuation characters + misc fixes.

23 years agoMake the exclamation mark (`!') a recognizable punctuation character.
ru [Thu, 1 Feb 2001 16:17:06 +0000 (16:17 +0000)]
Make the exclamation mark (`!') a recognizable punctuation character.

Obtained from: mdocNG

23 years agoUnbreak test coverage of cy driver.
bde [Thu, 1 Feb 2001 09:57:59 +0000 (09:57 +0000)]
Unbreak test coverage of cy driver.

23 years agoConverted to new-bus.
bde [Thu, 1 Feb 2001 09:49:57 +0000 (09:49 +0000)]
Converted to new-bus.

Reviewed by: imp

23 years agoFix breakage caused by incomplete transition to IF_HANDOFF().
bp [Thu, 1 Feb 2001 08:34:38 +0000 (08:34 +0000)]
Fix breakage caused by incomplete transition to IF_HANDOFF().
Remove unused variable.

23 years agoImplement preemptive scheduling of hardware interrupt threads.
jake [Thu, 1 Feb 2001 03:34:20 +0000 (03:34 +0000)]
Implement preemptive scheduling of hardware interrupt threads.

- If possible, context switch to the thread directly in sched_ithd(),
  rather than triggering a delayed ast reschedule.

- Disable interrupts while restoring fpu state in the trap handler,
  in order to ensure that we are not preempted in the middle, which
  could cause migration to another cpu.

Reviewed by: peter
Tested by: peter (alpha)

23 years agoUse mdconfig/md instead of vn.
phk [Wed, 31 Jan 2001 22:58:39 +0000 (22:58 +0000)]
Use mdconfig/md instead of vn.

23 years agoUpdate the module Makefile to reflect the state of things from the last
scottl [Wed, 31 Jan 2001 22:40:01 +0000 (22:40 +0000)]
Update the module Makefile to reflect the state of things from the last
acpi-ca import.

Approved by: msmith

23 years agoAdd the ability to declare ore-ride methods on a per-hook basis
julian [Wed, 31 Jan 2001 20:46:00 +0000 (20:46 +0000)]
Add the ability to declare ore-ride methods on a per-hook basis
for the rcvdata() and rcvmsg() methods.

Also bring the man page up to sync with my last commit. (and this one)

23 years agoFsck_ffs did not properly range-check the inode 'di_size'
iedowse [Wed, 31 Jan 2001 15:16:56 +0000 (15:16 +0000)]
Fsck_ffs did not properly range-check the inode 'di_size'
field, so it was possible for a filesystem marked clean by fsck_ffs
to cause kernel crashes later when mounted. This could occur when
fsck_ffs was used to repair a badly corrupted filesystem.

As pointed out by bde, it is not sufficient to restrict di_size to
just the superblock fs_maxfilesize limit. The use of 32-bit logical
block numbers (both in fsck and the kernel) induces another file
size limit which is usually lower than fs_maxfilesize. Also, the
old 4.3BSD filesystem does not have fs_maxfilesize initialised.

Following this change, fsck_ffs will enforce exactly the same
file size limits as are used by the kernel.

PR: kern/15065
Discussed with: bde
Reviewed by: bde, mckusick

23 years agoDocument the mpsafe argument to callout_init().
ben [Wed, 31 Jan 2001 12:17:45 +0000 (12:17 +0000)]
Document the mpsafe argument to callout_init().

PR: 24529
Submitted by: harti brandt <brandt@fokus.gmd.de>
Reviewed by: jlemon

23 years agoTry and make it clearer that the static units thing is a FYI only.
peter [Wed, 31 Jan 2001 11:18:49 +0000 (11:18 +0000)]
Try and make it clearer that the static units thing is a FYI only.

23 years ago* Move exception_return to exception.s which is a more logical home for it.
dfr [Wed, 31 Jan 2001 11:17:00 +0000 (11:17 +0000)]
* Move exception_return to exception.s which is a more logical home for it.
* Optimise the return path for syscalls so that they only restore a minimal
  set of registers instead of performing a full exception_return.

A new flag in the trapframe indicates that the frame only holds partial
state. When it is necessary to perform a full state restore (e.g. after an
execve or signal), the flag is cleared to force a full restore.

23 years agoRemove count for NSIO. The only places it was used it were incorrect.
peter [Wed, 31 Jan 2001 10:54:45 +0000 (10:54 +0000)]
Remove count for NSIO.  The only places it was used it were incorrect.
(alpha-gdbstub.c got sync'ed up a bit with the i386 version)

23 years agoUnwind a bit more cruft - we only have one type of device now.
peter [Wed, 31 Jan 2001 10:30:30 +0000 (10:30 +0000)]
Unwind a bit more cruft - we only have one type of device now.

23 years agoOops. An old version of a local change leaked in with the last commit.
peter [Wed, 31 Jan 2001 10:06:06 +0000 (10:06 +0000)]
Oops. An old version of a local change leaked in with the last commit.
Since it is here, clean it up a bit.

23 years agoMerge conflicts from the ACPI CA 20010125 import.
msmith [Wed, 31 Jan 2001 09:44:45 +0000 (09:44 +0000)]
Merge conflicts from the ACPI CA 20010125 import.

23 years agoAdd some debugging.
msmith [Wed, 31 Jan 2001 09:35:50 +0000 (09:35 +0000)]
Add some debugging.

Turn off semaphores.  Nobody else implements them, and there is lots of
AML out there which does totally absurd things with them, meaning that
if we try to do the right thing we are guaranteed to fail.

23 years agoAdd some debugging statements.
msmith [Wed, 31 Jan 2001 09:34:54 +0000 (09:34 +0000)]
Add some debugging statements.

23 years agoTidy up.
msmith [Wed, 31 Jan 2001 09:33:51 +0000 (09:33 +0000)]
Tidy up.

Don't print temperatures at attach time - they're usually wrong.

Use acpi_EvaluateInteger instead of doing things the hard way.

23 years agoAdd some debugging.
msmith [Wed, 31 Jan 2001 09:32:44 +0000 (09:32 +0000)]
Add some debugging.

Use acpi_EvaluateInteger where possible.

Use FuncName rather than &FuncName when passing function addresses.

Don't evaluate the _REG method when we attach to an address space -
AcpiInstallAddressSpaceHandler does it for us.

23 years agoACPI_NUMBER becomes ACPI_INTEGER. acpi_EvaluateNumber becomes
msmith [Wed, 31 Jan 2001 09:30:57 +0000 (09:30 +0000)]
ACPI_NUMBER becomes ACPI_INTEGER.  acpi_EvaluateNumber becomes
acpi_EvaluateInteger.

Use acpi_EvaluateInteger instead of doing things the hard way where
possible.

AcpiSetSystemSleepState (unofficial) becomes AcpiEnterSleepState.

Use the AcpiGbl_FADT pointer rather than searching for the FADT.

23 years agoRemove obsoleted files.
msmith [Wed, 31 Jan 2001 09:26:25 +0000 (09:26 +0000)]
Remove obsoleted files.

Temporarily turn off the processor and apic drivers until we sort out
what these are going to do now.

23 years agoRemove obsoleted files.
msmith [Wed, 31 Jan 2001 09:25:42 +0000 (09:25 +0000)]
Remove obsoleted files.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r71867,
msmith [Wed, 31 Jan 2001 09:17:50 +0000 (09:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r71867,
which included commits to RCS files with non-trunk default branches.

23 years agoUpdate to the 20010125 ACPI CA snapshot.
msmith [Wed, 31 Jan 2001 09:17:50 +0000 (09:17 +0000)]
Update to the 20010125 ACPI CA snapshot.

23 years agoRedo the stray header file cleanup code to not depend on timestamps
peter [Wed, 31 Jan 2001 08:42:35 +0000 (08:42 +0000)]
Redo the stray header file cleanup code to not depend on timestamps
or access times or anything.  Just bite the bullet and keep a list of
header files that we know about.

23 years agoStrip optional prefixes "/dev/" and "md" from the -u argument.
phk [Wed, 31 Jan 2001 08:41:18 +0000 (08:41 +0000)]
Strip optional prefixes "/dev/" and "md" from the -u argument.

23 years agoQuieten gcc.
peter [Wed, 31 Jan 2001 08:27:09 +0000 (08:27 +0000)]
Quieten gcc.

23 years agoExterminate the use of PSEUDO_SET() with extreme prejudice.
peter [Wed, 31 Jan 2001 07:58:58 +0000 (07:58 +0000)]
Exterminate the use of PSEUDO_SET() with extreme prejudice.

23 years agoAdd hpfs and the config glue for it. It was being skipped from test
peter [Wed, 31 Jan 2001 05:33:23 +0000 (05:33 +0000)]
Add hpfs and the config glue for it.  It was being skipped from test
coverage.

23 years agoProperly lock new vnode.
bp [Wed, 31 Jan 2001 04:54:23 +0000 (04:54 +0000)]
Properly lock new vnode.

Reminded by: tegge

23 years agoLet M_PANIC go back to the private tree as its intention isn't understood well
bp [Wed, 31 Jan 2001 04:50:20 +0000 (04:50 +0000)]
Let M_PANIC go back to the private tree as its intention isn't understood well
for now.

23 years agoZap last remaining references to (and a use use of) of simple_locks.
peter [Wed, 31 Jan 2001 04:29:52 +0000 (04:29 +0000)]
Zap last remaining references to (and a use use of) of simple_locks.

23 years agoAs the default MAXDSIZ and DFLDSIZ is 512MB, bump the example values
tanimura [Wed, 31 Jan 2001 04:07:34 +0000 (04:07 +0000)]
As the default MAXDSIZ and DFLDSIZ is 512MB, bump the example values
to 1GB. A box of mine is running with MAXDSIZ and DFLDSIZ increased
up to 1.5GB.

Wishlist: It would be nice to warn if MAXTSIZ + MAXDSIZ + MAXSSIZ
exceeds VM_MAXUSER_ADDRESS - VM_MINUSER_ADDRESS.

23 years agos/_thread_sys_write/__sys_write/
deischen [Wed, 31 Jan 2001 02:16:57 +0000 (02:16 +0000)]
s/_thread_sys_write/__sys_write/

Submitted by: Mike Heffner <mheffner@vt.edu>

23 years agoFix documentation: "proxy" is not a keyword for the arp(8) command line.
archie [Wed, 31 Jan 2001 00:03:31 +0000 (00:03 +0000)]
Fix documentation: "proxy" is not a keyword for the arp(8) command line.

23 years agoRevert mutex initialization check to look at mtx_description.
jasone [Tue, 30 Jan 2001 22:28:03 +0000 (22:28 +0000)]
Revert mutex initialization check to look at mtx_description.

Pointed out by: jlemon, jhb

23 years agoImplement direct support for semipersistant nodes.
julian [Tue, 30 Jan 2001 20:51:52 +0000 (20:51 +0000)]
Implement direct support for semipersistant nodes.
(e.g. ethernet nodes are persistent until you rip out the hardware)
Use this support in the ethernet and sample nodes.
Add some more abstraction on the 'item's so that  node and
hook reference counting can be checked easier.
Slight man page correction.
Make pppoe type dependent on ethernet type.
Clean up node shutdown a little.
Move a mutex from MTX_SPIN to MTX_DEF (oops)
Fix small ref-counting bug.
remove warning on one2many type.

23 years agoArgh, fix a nit that snuck in while trying to resolve conflicts.
jhb [Tue, 30 Jan 2001 20:29:11 +0000 (20:29 +0000)]
Argh, fix a nit that snuck in while trying to resolve conflicts.

23 years ago- Fix TUNABLE_STR_FETCH() to actually be a code fragment rather than
jhb [Tue, 30 Jan 2001 20:13:02 +0000 (20:13 +0000)]
- Fix TUNABLE_STR_FETCH() to actually be a code fragment rather than
  declaring a static function.
- Modify TUNABLE_*_DECL() to use TUNABLE_*_FETCH() to avoid code
  duplication.

Reviewed by: peter

23 years agoAdded used include of <sys/mutex.h>. The SMP case was broken by
bde [Tue, 30 Jan 2001 17:05:58 +0000 (17:05 +0000)]
Added used include of <sys/mutex.h>.  The SMP case was broken by
incompletely converting simplelocks to mutexes (COM_LOCK() is supposed
to hide the SMP locking internals, but it now depends on mutex interfaces
being visible).

23 years agoNew release notes: bridge(4)/dummynet(4) updates, find(1) -empty,
bmah [Tue, 30 Jan 2001 16:18:56 +0000 (16:18 +0000)]
New release notes:  bridge(4)/dummynet(4) updates, find(1) -empty,
tftpd(8) -c/-C, vidcontrol(1) -g, ldconfig(8) permission/ownership checks.

23 years agoUpdate port_after.h to reflect FreeBSD values.
asmodai [Tue, 30 Jan 2001 12:28:21 +0000 (12:28 +0000)]
Update port_after.h to reflect FreeBSD values.

23 years agoAllow the output of /etc/security to be logged or mailed to different
brian [Tue, 30 Jan 2001 10:24:18 +0000 (10:24 +0000)]
Allow the output of /etc/security to be logged or mailed to different
users in line with ${daily,weekly,monthly}_output using a new
$daily_status_security_output variable.

PR: 24643

23 years agoMake mount_mfs annoy users for 15 seconds and point them at mdconfig(8).
phk [Tue, 30 Jan 2001 10:21:20 +0000 (10:21 +0000)]
Make mount_mfs annoy users for 15 seconds and point them at mdconfig(8).

23 years agoMake klds for the ar and sr devices and hook them up.
jhay [Tue, 30 Jan 2001 10:20:43 +0000 (10:20 +0000)]
Make klds for the ar and sr devices and hook them up.

The normal versions are called if_ar.ko and if_sr.ko and the netgraph
versions ng_sync_ar.ko and ng_sync_sr.ko.

23 years agoMake vnconfig annoy users for 15 seconds to make them switch to mdconfig.
phk [Tue, 30 Jan 2001 10:12:51 +0000 (10:12 +0000)]
Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.

23 years agoRun purgedir (a local function) on /var/run instead of rm /var/run/*
brian [Tue, 30 Jan 2001 10:07:03 +0000 (10:07 +0000)]
Run purgedir (a local function) on /var/run instead of rm /var/run/*

PR: 24612
Submitted by: David Drum <david@mu.org>

23 years agoAdd a BUF_KERNPROC() in the BIO_DELETE path.
phk [Tue, 30 Jan 2001 10:06:08 +0000 (10:06 +0000)]
Add a BUF_KERNPROC() in the BIO_DELETE path.

This seems to fix the problem which md(4) backed filesystems exposed.

23 years agoThe ar and sr devices have moved to sys/dev/.
jhay [Tue, 30 Jan 2001 10:05:44 +0000 (10:05 +0000)]
The ar and sr devices have moved to sys/dev/.

23 years agoThis include file has found a new home in sys/dev/ic/.
jhay [Tue, 30 Jan 2001 10:04:25 +0000 (10:04 +0000)]
This include file has found a new home in sys/dev/ic/.

23 years agoNewbusify the sr device and move it to its new location.
jhay [Tue, 30 Jan 2001 10:02:10 +0000 (10:02 +0000)]
Newbusify the sr device and move it to its new location.

23 years agoUpdate include files to reflect the new location of the ar device.
jhay [Tue, 30 Jan 2001 10:01:15 +0000 (10:01 +0000)]
Update include files to reflect the new location of the ar device.

23 years agoReflect the new location of the ar and sr devices.
jhay [Tue, 30 Jan 2001 10:00:04 +0000 (10:00 +0000)]
Reflect the new location of the ar and sr devices.

23 years agoStyle (whitespace) nit.
peter [Tue, 30 Jan 2001 09:44:37 +0000 (09:44 +0000)]
Style (whitespace) nit.

23 years agoFix two minor nits.
phk [Tue, 30 Jan 2001 08:39:52 +0000 (08:39 +0000)]
Fix two minor nits.

Existences revealed, but no details offered by: bp

23 years agoFix cut and paste error in a comment.
julian [Tue, 30 Jan 2001 07:58:30 +0000 (07:58 +0000)]
Fix cut and paste error in a comment.
Submitted by: Peter Wemm <peter@freebsd.org>

23 years agoFix a race between the syncer and umount. When you umount a softupdates
dillon [Tue, 30 Jan 2001 06:31:59 +0000 (06:31 +0000)]
Fix a race between the syncer and umount.  When you umount a softupdates
filesystem softdep_process_worklist() is called in a loop until it indicates
that no dependancies remain, but the determination of that fact depends on
there only being one softdep_process_worklist() instance running.  It was
possible for the syncer to also be running softdep_process_worklist()
and the pre-existing checks in the code to prevent this were not sufficient
to prevent the race.  This patch solves the problem.

Approved-by: mckusick
23 years agoUpdate release notes: devfs(5) now in GENERIC, libc_r changes.
bmah [Tue, 30 Jan 2001 05:02:15 +0000 (05:02 +0000)]
Update release notes:  devfs(5) now in GENERIC, libc_r changes.

23 years agoRemove some leftovers from the CMAP* stuff in globaldata and the
peter [Tue, 30 Jan 2001 04:02:28 +0000 (04:02 +0000)]
Remove some leftovers from the CMAP* stuff in globaldata and the
BSP and AP startup.

23 years agoRemove unused GD_CPU_LOCKID, GD_OTHER_CPUS, PS_IDLESTACK and
peter [Tue, 30 Jan 2001 04:00:11 +0000 (04:00 +0000)]
Remove unused GD_CPU_LOCKID, GD_OTHER_CPUS, PS_IDLESTACK and
PS_IDLESTACK_TOP

23 years agoRemove unnecessary locking to protect the p_upages_obj and p_addr
jhb [Tue, 30 Jan 2001 00:35:35 +0000 (00:35 +0000)]
Remove unnecessary locking to protect the p_upages_obj and p_addr
pointers.

23 years ago- Use the right name for the proctree lock in the locking key.
jhb [Tue, 30 Jan 2001 00:10:37 +0000 (00:10 +0000)]
- Use the right name for the proctree lock in the locking key.
- Add a note about the special locking semantics used for members such as
  p_cred that are read by multiple processes but only written to by the
  current process.
- Change p_upages_obj's locking key to note that it is created at fork
  and left alone afterwards (the actual pointer, not what it points to.)
- Mark p_intr_nesting_level as being implicitly locked since only curproc
  accesses it.

Reviewed by: jake

23 years agoUpdate for security advisories: 01:11, 01:12, 01:13, BIND fix/update.
bmah [Mon, 29 Jan 2001 23:54:48 +0000 (23:54 +0000)]
Update for security advisories:  01:11, 01:12, 01:13, BIND fix/update.

23 years agoPut picobsd build scripts in sync with the ones in -STABLE.
luigi [Mon, 29 Jan 2001 22:47:46 +0000 (22:47 +0000)]
Put picobsd build scripts in sync with the ones in -STABLE.

With these scripts i was able to build a _working_ image of a
bridge-like floppy image with a reasonable set of utilities
in it, despite the code size increase we have in 5.0

The scripts are slightly different from the previous ones especially
on the place where the kernel and binaries are built. Hopefully
this will not cause too much trouble to people (is there any???)
using the old scripts.

23 years agoUnbreak world by correctly specifying the prototype for __sys_aio_suspend.
deischen [Mon, 29 Jan 2001 18:59:53 +0000 (18:59 +0000)]
Unbreak world by correctly specifying the prototype for __sys_aio_suspend.
A make buildworld was done but not with the committed pthread_private.h.

Reported by: Manfred Antar <null@pozo.com>

23 years agoAdd option ATA_ENABLE_WC for enabling write caching (now off by default).
sos [Mon, 29 Jan 2001 18:00:35 +0000 (18:00 +0000)]
Add option ATA_ENABLE_WC for enabling write caching (now off by default).

23 years agoAdd text for option ATA_ENABLE_WC.
sos [Mon, 29 Jan 2001 17:58:16 +0000 (17:58 +0000)]
Add text for option ATA_ENABLE_WC.

23 years agoAARGH! This does not mix too well with the -o noatime mount option.
peter [Mon, 29 Jan 2001 15:26:35 +0000 (15:26 +0000)]
AARGH!  This does not mix too well with the -o noatime  mount option.
:-(

23 years agoFlesh out EFI support somewhat.
dfr [Mon, 29 Jan 2001 13:31:19 +0000 (13:31 +0000)]
Flesh out EFI support somewhat.

23 years agoSupply a stub bpf_validate() (always returning false - the script is not
peter [Mon, 29 Jan 2001 13:26:14 +0000 (13:26 +0000)]
Supply a stub bpf_validate() (always returning false - the script is not
valid) if BPF is missing.
The netgraph_bpf node forced bpf to be present, reflect that in the
options.
Stop doing a 'count bpf' - we provide stubs.
Since a handful of drivers still refer to "bpf.h", provide a more accurate
indication that the API is present always. (eg: netinet6)

23 years agoUse M_PANIC instead of if (sc == NULL) panic();
peter [Mon, 29 Jan 2001 13:21:34 +0000 (13:21 +0000)]
Use M_PANIC instead of if (sc == NULL) panic();

23 years agoRemove unused variable 'int n;'
peter [Mon, 29 Jan 2001 13:05:21 +0000 (13:05 +0000)]
Remove unused variable 'int n;'

23 years agoAdd M_PANIC flag to the list of available flags passed to malloc().
bp [Mon, 29 Jan 2001 12:48:37 +0000 (12:48 +0000)]
Add M_PANIC flag to the list of available flags passed to malloc().
With this flag set malloc() will panic if memory allocation failed.
This usable only in critical places where failed allocation is fatal.

Reviewed by: peter

23 years agoStop counting sppp interfaces, we were just testing its presence to give
peter [Mon, 29 Jan 2001 12:27:46 +0000 (12:27 +0000)]
Stop counting sppp interfaces, we were just testing its presence to give
a warning if it was missing.

23 years agoConvert mca (microchannel bus support) from something that we count
peter [Mon, 29 Jan 2001 11:57:27 +0000 (11:57 +0000)]
Convert mca (microchannel bus support) from something that we count
(bogus) to something that we test for the presence of.

23 years agoAdd a few ``const''s to silence some -Wwrite-strings warnings
brian [Mon, 29 Jan 2001 11:44:13 +0000 (11:44 +0000)]
Add a few ``const''s to silence some -Wwrite-strings warnings

23 years agoZap silly #if NPCI > 0 and the hoops that we jump through for the module
peter [Mon, 29 Jan 2001 11:38:39 +0000 (11:38 +0000)]
Zap silly #if NPCI > 0 and the hoops that we jump through for the module
case.  Use an 'and' case in conf/files so that it only gets compiled if
pci is present.

23 years agoYikes, these files bogusly #include "loop.h" but didn't use the value.
peter [Mon, 29 Jan 2001 11:28:20 +0000 (11:28 +0000)]
Yikes, these files bogusly #include "loop.h" but didn't use the value.
My searching for NLOOP missed them. :-(

23 years agoConvert 'count en', 'count lnc', 'count fpa', 'count loop' and 'count ar'
peter [Mon, 29 Jan 2001 11:21:00 +0000 (11:21 +0000)]
Convert 'count en', 'count lnc', 'count fpa', 'count loop' and 'count ar'
back to standard 'optional'.

23 years agoRemove unused #include "lnc.h"
peter [Mon, 29 Jan 2001 11:19:30 +0000 (11:19 +0000)]
Remove unused #include "lnc.h"

23 years agoMake the number of loopback interfaces dynamically tunable. Why one
peter [Mon, 29 Jan 2001 11:06:26 +0000 (11:06 +0000)]
Make the number of loopback interfaces dynamically tunable.  Why one
would *want* to is a different story, but it used to be able to be done
statically.  Get rid of #include "loop.h" and struct ifnet loif[NLOOP];
This could be used as an example of how to do this in other drivers,
for example: ccd.

23 years agoFix 'tunefs -p'
ben [Mon, 29 Jan 2001 11:00:16 +0000 (11:00 +0000)]
Fix 'tunefs -p'

Reviewed by: sheldonh

23 years agoRemove unused #include "snp.h"
peter [Mon, 29 Jan 2001 10:06:22 +0000 (10:06 +0000)]
Remove unused #include "snp.h"

23 years agoConvert ata and atapi #if NATA* > 0 to options instead. Stop config
peter [Mon, 29 Jan 2001 10:01:11 +0000 (10:01 +0000)]
Convert ata and atapi #if NATA* > 0 to options instead.  Stop config
trying to count the number of ata* devs since they were not used anyway.

23 years agoUse <sys/queue.h> instead of home-rolled list.
phk [Mon, 29 Jan 2001 09:45:51 +0000 (09:45 +0000)]
Use <sys/queue.h> instead of home-rolled list.

Submitted by: "Jason Smethers" <jsmethers@pdq.net>

23 years agoTurn '#if NSNP > 0' into an option.
peter [Mon, 29 Jan 2001 09:43:36 +0000 (09:43 +0000)]
Turn '#if NSNP > 0' into an option.

23 years agoSend "#if NISA > 0" to the bit-bucket and replace it with an option.
peter [Mon, 29 Jan 2001 09:38:39 +0000 (09:38 +0000)]
Send "#if NISA > 0" to the bit-bucket and replace it with an option.
These were compile-time "is the isa code present?" tests and not
'how many isa busses' tests.

23 years agoI confess. This is a truely nasty hack. I am so ashamed!
peter [Mon, 29 Jan 2001 09:34:43 +0000 (09:34 +0000)]
I confess.  This is a truely nasty hack.  I am so ashamed!
(I think config(8) source does bad things to your brain :-)

Clean up likely stray *.h files in the build directory.
Eg: if isa.h ceases being generated, zap it.
The heuristics to figure out a 'likely' file are pretty revolting.

23 years agoStyle police.
des [Mon, 29 Jan 2001 08:59:30 +0000 (08:59 +0000)]
Style police.

Submitted by: ru

23 years agoFix some log_Printf() casting
brian [Mon, 29 Jan 2001 08:46:58 +0000 (08:46 +0000)]
Fix some log_Printf() casting

Obtained from: NetBSD (pkgsrc)

23 years agoGag. These compiled because I had a stray "eisa.h" in my config dir.
peter [Mon, 29 Jan 2001 08:40:16 +0000 (08:40 +0000)]
Gag. These compiled because I had a stray "eisa.h" in my config dir.

23 years agoRemove stray #include "isa.h"
peter [Mon, 29 Jan 2001 08:33:55 +0000 (08:33 +0000)]
Remove stray #include "isa.h"

23 years agoReplace the full path to sysinstall with a standard manual page
sheldonh [Mon, 29 Jan 2001 08:22:21 +0000 (08:22 +0000)]
Replace the full path to sysinstall with a standard manual page
reference.  The sysinstall binary is now in root's standard PATH,
so there's no need for explicit pathing, and there's some value
in a manual page reference.

23 years agoThis patch reestablishes the spec_fsync() guarentee that synchronous
dillon [Mon, 29 Jan 2001 08:19:28 +0000 (08:19 +0000)]
This patch reestablishes the spec_fsync() guarentee that synchronous
fsyncs, which typically occur during unmounting, will drain all dirty
buffers even if it takes multiple passes to do so.  The guarentee was
mangled by the last patch which solved a problem due to -current disabling
interrupts while holding giant (which caused an infinite spin loop waiting for
I/O to complete).  -stable does not have either patch, but has a similar
bug in the original spec_fsync() code which is triggered by a bug in the
softupdates umount code, a fix for which will be committed to -current
as soon as Kirk stamps it.  Then both solutions will be MFC'd to -stable.

-stable currently suffers from a combination of the softupdates bug and
a small window of opportunity in the original spec_fsync() code, and -stable
also suffers from the spin-loop bug but since interrupts are enabled the
spin resolves itself in a few milliseconds.

23 years agochange 'count eisa' to 'optional eisa' and update the only consumer
peter [Mon, 29 Jan 2001 08:19:02 +0000 (08:19 +0000)]
change 'count eisa' to 'optional eisa' and update the only consumer
of 'NEISA' - userconfig.c.
While there, send some defunct code to the file history.

23 years agoAdd static dependency to libisc to get isc_movefile().
asmodai [Mon, 29 Jan 2001 07:56:34 +0000 (07:56 +0000)]
Add static dependency to libisc to get isc_movefile().

Submitted by: Munehiro Matsuda <haro@kubota.co.jp>

23 years agoFix a braino in ccd's clone routine.
phk [Mon, 29 Jan 2001 06:18:14 +0000 (06:18 +0000)]
Fix a braino in ccd's clone routine.

Submitted by: tegge

23 years agoBack out rev 1.102. The IBM DNES drives work fine for me, jedgar and other
ken [Mon, 29 Jan 2001 05:33:14 +0000 (05:33 +0000)]
Back out rev 1.102.  The IBM DNES drives work fine for me, jedgar and other
folks.

My guess is that reducing the number of tags is just masking the real
problem for the PR submitter.  I'll re-open the PR and see if I can work
with the submitter to diagnose the problem.

PR: 21139