opnsense-src/sys/dev
Greg Lehey a0a8b3768e Change printf() calls to log() calls.
Rename the VF_KERNELOP to VF_DISKCONFIG and checkkernel () to
checkdiskconfig (), which better describes their function.

Disable configuration updates if we have an error reading in the
configuration.  This stops a "shoot-in-foot" problem where a mistake
can cause the configuration to be obliterated.

Tidy up some messages, which included superfluous \ns.

Recognize RAID-5 configuration information even in the non-RAID-5
version.  This fixes shoot-in-foot problems where starting the wrong
version of vinum would kill RAID-5 plexes.

Recognize drives that have been referenced, but for which no physical
location is known.  This is part of a modification which will
ultimately allow incrementally reading configurations.  Such drives
will have a device name "unknown".

New function return_drive_space () returns space to a drive.
Previously this was part of free_sd ().

give_sd_to_drive: don't do it if the subdisk needs more space than the
drive has available.

config_sd: if reading config from disk, accept plex offset, drive
offset and length specs of -1 to indicate error conditions.

parse_config: return ENOENT if the "read" command doesn't find any
drives.

remove_sd_entry: don't do it, even by force, if it's open.

If the size of a striped or RAID-5 plex is not an integral multiple of
the stripe size, trim the size until it is.

reinstate update_volume_config, which had atrophied, to recalculate
the size of a volume if a plex has shrunk due to stripe size
considerations.
1999-03-02 06:52:47 +00:00
..
advansys Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partially 1999-01-08 19:17:49 +00:00
aha o enable plug and play support for the aha driver. Given the cumbersome 1999-01-20 06:21:27 +00:00
ahb Correct test in poll loop for determining that the mailbox is free to 1999-01-28 03:30:02 +00:00
aic7xxx Set the ultra enable bits in the adaptor's scratch ram area only after 1999-02-11 07:12:16 +00:00
ar Straigthen out the use of the tls and tlf callbacks. 1998-12-16 18:42:38 +00:00
ata Finally!! 1999-03-01 21:19:19 +00:00
atkbdc - Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101 1999-01-28 10:55:55 +00:00
bktr My changes: 1999-02-25 07:45:47 +00:00
buslogic probe function changed from returning char * to const char *. 1998-12-14 06:37:37 +00:00
ccd Set the devstat priority for ccd devices to DEVSTAT_PRIORITY_CCD 1999-02-18 21:11:53 +00:00
cs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
cy YAMFsio.c (1.227-1.228: set up input buffering dynamically). 1999-02-04 15:54:02 +00:00
de Fix handling of IFF_ALLMULTI. The code did not call 1999-03-01 16:54:28 +00:00
dec Add semicolon to INTERFACE declarations 1998-11-08 18:35:53 +00:00
dgb Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
dpt Error check is not necessary - this function cannot fail in this 1998-12-22 20:21:12 +00:00
ed Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
eisa Replace includes of <sys/kernel.h> with includes of 1999-01-14 06:22:10 +00:00
en Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
ep Move the "fetch serial data" delay so that it is an inter-bit delay. 1999-01-31 22:41:51 +00:00
ex Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
fb - Don't assume the line length in the video memory is always the same as 1999-02-05 11:52:13 +00:00
fdc Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
fe Update the pccard hooks to use a module style declaration instead. 1999-01-19 00:21:53 +00:00
fxp Improved reporting of autodetected speed and duplex. 1999-02-12 17:56:23 +00:00
hea Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
hfa Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
ic Implemented sending of BREAKs. This is quite complicated because the 1998-12-17 17:40:13 +00:00
ie Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
iicbus Handle correctly iicbus request/release mechanism. Add iicbus allocation 1999-02-13 18:01:55 +00:00
isp Cleanup. Set all PCI parameters of importance. Set a define that will 1999-02-09 01:12:52 +00:00
joy This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
kbd - Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101 1999-01-28 10:55:55 +00:00
lnc New driver flags to support IFF_ALLMULTI handling. 1999-01-31 00:56:32 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mcd Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
mse Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
oltr Add a quick note to say what the 3 uuencoded files are. 1999-02-21 09:36:33 +00:00
pcf The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
pci Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Soren 1999-02-18 21:42:19 +00:00
pcm/isa Fix YMF719 detection (report by jose@we.lc.ehu.es). 1999-01-04 20:06:38 +00:00
pdq Fix '|' that was supposed to be '||' 1999-01-27 19:35:33 +00:00
ppbus Move away from lpt.h data structure definition that only lpt.c relies on. 1999-02-14 16:19:16 +00:00
ppc More appropriate fix to the id_irq read during probe 1999-02-14 22:02:47 +00:00
rc Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
rp Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
scd Move a couple of functions to make __inline work. While I'm here, 1999-01-12 01:29:45 +00:00
si Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
sio Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
smbus Return approriate errors to userland. 1999-02-14 14:36:45 +00:00
snp Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
sound/isa Fix YMF719 detection (report by jose@we.lc.ehu.es). 1999-01-04 20:06:38 +00:00
speaker Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00
sr Fix typo. Unit is spelled with a 'u'. 'init' just types too easily. 1999-01-18 21:27:03 +00:00
streams Converted "streams" pseudo-device into a KLD 1999-02-22 11:44:46 +00:00
syscons Followup to yokota's last commit: 1999-02-05 12:40:16 +00:00
tx probe function changed from returning char * to const char *. 1998-12-14 06:37:37 +00:00
usb Bug fix: Trap 12 when ugen not present and therefore unattached physical 1999-02-21 16:53:35 +00:00
vinum Change printf() calls to log() calls. 1999-03-02 06:52:47 +00:00
vn The alternate B_PAGING path for vnstrategy() is used for VM faults 1999-02-01 08:36:02 +00:00
vr Add support for still more cheapo 10/100 cards: Delta Electronics and 1999-02-23 15:38:25 +00:00
vx Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
wl Silence warnings. 1999-01-12 00:36:36 +00:00