freebsd-nq/sys/dev
Robert Watson 6d4d944e33 Get Vinum up and running with GEOM:
(1) Use namei() and devfs to discover devices rather than a hard-coded
    MAKEDEV implementation.  Once rootfs is in place, this will allow
    Vinum to be used for the root file system partition.

(2) Pass FREAD to device opens so that GEOM will return sector size
    rather than an error on attempts to read label data.

(3) Avoid clobbering return values from close_drive() and masking this
    failure, resulting in a later divide by zero due to not having
    updated the Vinum-cached sector size.

(4) Ignore failures from DIOCWLABEL as that appears not to be required
    in the GEOM environment.

We've done testing in simple Vinum environments, but those with more
complex environments might want to give this a spin in DP2 and make
sure everything is up to speed.

Fixes in collaboration with:	iedowse
Reviewed by:			grog
2002-10-05 03:44:00 +00:00
..
aac Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
acpica Make sure that ACPI PCI driver probe routine call pci_cfgregopen() 2002-10-05 02:16:49 +00:00
advansys Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
agp Correct an indentation. 2002-10-03 06:10:54 +00:00
aha
ahb
aic Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
aic7xxx Remove a left over '&' from the conversion to using our 2002-09-30 19:55:42 +00:00
amd
amr Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
an Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
ar Use if_printf(ifp, "blah") instead of printf("ar%d: blah", ifp->if_unit). 2002-10-01 00:42:51 +00:00
asr
ata Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
atkbdc
awi
bge Fix a typo in BGE_BIGENDIAN_INIT. 2002-10-01 22:33:40 +00:00
bktr Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
buslogic
cardbus Don't leak the bar list for each thing we allocate. 2002-09-29 18:07:29 +00:00
ccd
ciss Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
cm Use if_printf(ifp, "blah") instead of 2002-10-01 00:44:31 +00:00
cnw
cs Use if_printf(ifp, "blah") instead of 2002-10-01 00:46:41 +00:00
ct
cy
dc
de
dec
dgb Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
digi Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
dpt
drm In an SMP environment post-Giant it is no longer safe to blindly 2002-10-03 02:13:00 +00:00
ed Use if_printf() instead of printf() to print "ed#: blah". 2002-10-01 00:49:28 +00:00
eisa
em
en Rename "struct device" to "struct midway_device" to avoid clashing 2002-09-28 21:59:59 +00:00
ep
ex
exca
fb Fix rare and probably inconsequential memory leak. 2002-10-02 20:34:23 +00:00
fdc Fix a probably rare and inconsequential memory leak. 2002-10-02 20:29:54 +00:00
fe Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit). 2002-10-01 00:52:58 +00:00
firewire
fxp
gem
gfb
gx
hea Create/destroy memory zones on module load/unload, not on device 2002-10-02 04:42:24 +00:00
hfa Use more standard variable names for modevent functions. 2002-10-02 04:47:52 +00:00
hifn Crypto device driver for hifn-based cards. Tested with 7951-, and 7811-based 2002-10-04 20:32:37 +00:00
hme
ic
ichsmb
ida
idt Use more standard variable names for modevent functions. 2002-10-02 04:47:52 +00:00
ie Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
iicbus
iir Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
isp Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
ispfw
joy
kbd
lge Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
lmc
lnc Fix mis-indentation. 2002-10-02 09:09:25 +00:00
mc146818
mca
mcd newbus & bus_space the mcd(4) driver. 2002-10-04 07:14:19 +00:00
md Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
mii Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
mk48txx
mlx
mly
mpt
mse
musycc
my
ncv
nge
nmdm
nsp
null
ofw
pccard
pccbb Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
pcf
pci Removed the only PCI_DEBUG ifdef in the kernel. PCI_DEBUG was not a 2002-10-01 13:28:24 +00:00
pcic Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
pdq
ppbus
ppc
pst Fix so it compiles with the new disklabel stuff. 2002-09-27 21:56:35 +00:00
puc Add "missing scratch-pad register" to the first of the two ports 2002-09-27 22:02:46 +00:00
random Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
ray
rc
rp
sab
sbni Use if_printf() instead of printf() to print "sbni#: blah". 2002-10-01 00:55:22 +00:00
scd Remove duplicate make_dev() calls. 2002-10-04 08:33:10 +00:00
sf
si
sio Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
sk
smbus
sn Use if_printf(ifp, "blah") instead of printf("sn%d: blah", ifp->if_unit). 2002-10-01 00:56:39 +00:00
snc
snp
sound
speaker
sr Use if_printf(ifp, "blah") instead of printf("sr%d: blah", ifp->if_unit). 2002-10-01 00:58:16 +00:00
stg
streams
sym
syscons Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
tdfx Disabuse this driver of the notion that it needs to include 2002-09-28 20:56:32 +00:00
tga
ti Static'ify a variable. 2002-10-03 06:44:01 +00:00
twe
tx
txp
ubsec Crypto device driver for Broadcom-based cards. Known to work with 582x-based 2002-10-04 20:33:20 +00:00
usb Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
vinum Get Vinum up and running with GEOM: 2002-10-05 03:44:00 +00:00
vr
vx Fix mis-indentation. 2002-10-02 09:09:25 +00:00
wds
wi Fix comment 2002-09-29 18:42:14 +00:00
wl
xe Use if_printf(ifp, "foo") instead of printf("xe%d: foo", ifp->it_unit). 2002-10-01 01:03:02 +00:00