freebsd-skq/sys/pccard
Poul-Henning Kamp 2447bec829 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
..
cardinfo.h Add "beep" ioctl. (#10 is reserved for PIOCSVIR) 1999-02-13 11:32:00 +00:00
cis.h Minor formatting changes. No functional differences, but makes the 1996-06-05 05:30:09 +00:00
driver.h Add "beep" ioctl. (#10 is reserved for PIOCSVIR) 1999-02-13 11:32:00 +00:00
i82365.h Add probing support for the vadem VG365 and the Vadem VG465 pcic chips. 1998-08-25 22:46:44 +00:00
pccard_beep.c Add "beep" ioctl. (#10 is reserved for PIOCSVIR) 1999-02-13 11:32:00 +00:00
pccard.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pcic98reg.h Re-sync with the state of PC98 world. This will be the last commit before 1996-08-30 10:43:14 +00:00
pcic_pci.c Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
pcic_pci.h - Added PCI identification support for the TI1251 PCI/CardBus bridge. 1999-05-02 05:53:50 +00:00
pcic.c Operator precedence (nit: in #if 0 code) bug. 1999-05-02 21:45:31 +00:00
pcic.h Header file for pcic interrupt register/unregister functions. 1999-03-10 14:56:28 +00:00
skel.c Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
slot.h Initial update pccard code for KLD module support. Module support 1999-01-19 00:18:28 +00:00