freebsd-skq/sys/dev
phk 6a5dc97620 Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it.  cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.

cdevsw_add() will print an message if the d_maj field looks bogus.

Remove nblkdev and nchrdev variables.  Most places they were used
bogusly.  Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.

Move bdevsw() and devsw() functions to kern/kern_conf.c

Bump __FreeBSD_version to 400006

This commit removes:
        72 bogus makedev() calls
        26 bogus SYSINIT functions

if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.

I4b and vinum not changed.  Patches emailed to authors.  LINT
probably broken until they catch up.
1999-05-31 11:29:30 +00:00
..
advansys Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
aha The 1542 cards do not allow adapter commands to be queued while mailbox 1999-05-25 20:15:20 +00:00
ahb Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
aic7xxx Ignore subvendor and subdevice ids for all ai7880 parts. These chips 1999-05-26 16:59:17 +00:00
amd First cut at a driver for the amd53c974 PCI SCSI host adapter. This 1999-05-22 21:50:40 +00:00
ar Fix 'signed char as array index' warnings and an unused variable. 1999-05-06 18:58:05 +00:00
ata Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
atkbdc This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
bktr Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
buslogic No support for pnp devices yet. 1999-05-30 11:10:10 +00:00
ccd This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
cs Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
cy Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
de Forgotten in previous commit: 1999-05-26 23:05:23 +00:00
dec Calibrate the processor cycle counter instead of believing what the 1999-05-18 21:24:16 +00:00
dgb Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
dpt Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ed #ifdef BRIDGE around a goto label used by the bridge code to silcence a 1999-05-09 23:24:47 +00:00
eisa Fix a [start,end] vs [start,count] botch that corrupted the resource 1999-05-24 03:08:46 +00:00
en Missing revision markers. 1999-05-09 17:12:25 +00:00
ep Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
ex Set ifq_maxlen to default value. (This should be safe, it's not clear 1999-05-02 22:01:24 +00:00
fb Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
fdc This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
fe Replace misused FE_D6_BBW with FE_D6_SBW. 1999-05-04 12:59:59 +00:00
fxp Fix two warnings. 1999-05-09 10:45:54 +00:00
hea Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
hfa This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
ic Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines were 1999-05-13 12:21:41 +00:00
ie Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines were 1999-05-13 12:21:41 +00:00
iicbus Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
isp When asked to get the current transfer settings go do a dev_refresh 1999-05-12 19:00:16 +00:00
joy Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
kbd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
lnc Set the bus master bit. 1999-05-10 22:39:37 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mcd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
mse Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pccard Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pcf Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
pci Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pcm/isa Add support for ASound Gold card using the ALS120 1999-05-27 06:12:40 +00:00
pdq Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
ppbus Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ppc Return the port size from the probe. 1999-04-22 13:10:43 +00:00
rc Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
rp Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
scd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
si Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sio The PPSAPI group defines the polarity in draft 3, we guessed it wrong. 1999-05-31 06:57:31 +00:00
smbus Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
snp Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sound/isa Add support for ASound Gold card using the ALS120 1999-05-27 06:12:40 +00:00
speaker Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sr Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
streams Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
syscons Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ti Allow chipset drivers to specify the direct-mapped DMA window's mask in 1999-05-26 23:01:57 +00:00
tx Move arpcom structure be the first in softc structure. Needed 1999-05-22 06:10:14 +00:00
usb Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
vinum Modify to work with new style dev_t. 1999-05-15 05:49:21 +00:00
vn This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
vr Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
vx Missing revision markers. 1999-05-09 17:12:25 +00:00
wi - Fix up some comments in if_wi.c (no code changes) 1999-05-22 16:12:54 +00:00
wl Suser() simplification: 1999-04-27 11:18:52 +00:00
xe Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00