cdev_isdn_init(NISDN, isdn), /* 51: isdn main device */ cdev_isdnctl_init(NISDNCTL, isdnctl), /* 52: isdn control device */ cdev_isdnbchan_init(NISDNBCHAN, isdnbchan), /* 53: isdn raw b-chnl access */ cdev_isdntrc_init(NISDNTRC, isdntrc), /* 54: isdn trace device */ cdev_isdntel_init(NISDNTEL, isdntel), /* 55: isdn phone device */ cdev_mouse_init(NWSMUX, wsmux), /* 56: ws multiplexor */ cdev_tty_init(NUCOM, ucom), /* 57: USB tty */ cdev_ses_init(NSES,ses), /* 58: SCSI SES/SAF-TE */ cdev_disk_init(NLD,ld), /* 59: logical disk driver */ cdev_tty_init(NCY,cy), /* 60: Cyclades Cyclom-Y serial */ cdev_tty_init(NCZ,cztty), /* 61: Cyclades-Z serial */ cdev_usbdev_init(NURIO,urio), /* 62: Diamond Rio 500 */ cdev_ugen_init(NUSCANNER,uscanner),/* 63: USB scanner */ cdev_altq_init(NALTQ,altq), /* 64: ALTQ control interface */ cdev__oci_init(NMLX,mlx), /* 65: Mylex DAC960 control interface */ cdev_pci_init(NPCI,pci), /* 66: PCI bus access device */ cdev__ocim_init(NAGP,agp), /* 67: AGP graphics aperture device */ cdev__ocm_init(NSTIC,stic), /* 68: PixelStamp mmap interface */ cdev_clockctl_init(NCLOCKCTL, clockctl),/* 69: clockctl pseudo device */ }; int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]); int mem_no = 2; /* major device number of memory special file */ /* * Swapdev is a fake device implemented * in sw.c used only internally to get to swstrategy. * It cannot be provided to the users, because the * swstrategy routine munches the b_dev and b_blkno entries * before calling the appropriate driver. This would horribly * confuse, e.g. the hashing routines. Instead, /dev/drum is
cdev_notdef(), /* 59: i4b trace device */ cdev_notdef(), /* 60: i4b phone device */ /* End of reserved slots for isdn4bsd. */ cdev_notdef(), /* 61: USB controller */ cdev_notdef(), /* 62: USB generic HID */ cdev_notdef(), /* 63: USB generic driver */ cdev_notdef(), /* 64: USB printers */ cdev_notdef(), /* 65: USB Diamond Rio 500 */ cdev_notdef(), /* 66: USB tty */ cdev_notdef(), /* 67: keyboards */ cdev_notdef(), /* 68: mice */ cdev_notdef(), /* 69: ws multiplexor */ cdev_crypto_init(NCRYPTO,crypto), /* 70: /dev/crypto */ cdev_notdef(), /* 71: Cyclades-Z serial port */ #ifdef USER_PCICONF cdev_pci_init(NPCI,pci), /* 72: PCI user */ #else cdev_notdef(), #endif cdev_pf_init(NPF,pf), /* 73: packet filter */ cdev_notdef(), /* 74: ALTQ (deprecated) */ cdev_notdef(), /* 75: I2O IOP control interface */ cdev_radio_init(NRADIO, radio), /* 76: generic radio I/O */ cdev_notdef(), /* 77: USB scanners */ cdev_systrace_init(NSYSTRACE,systrace), /* 78: system call tracing */ cdev_bio_init(NBIO,bio), /* 79: ioctl tunnel */ cdev_notdef(), /* 80: gpr? XXX */ cdev_ptm_init(NPTY,ptm), /* 81: pseudo-tty ptm device */ cdev_hotplug_init(NHOTPLUG,hotplug), /* 82: devices hot plugging */ cdev_notdef(), /* 83: ACPI */ cdev_notdef(), /* 84: bthub */
cdev_notdef(), /* 15: */ cdev_lpt_init(NLPT,lpt), /* 16: Parallel printer interface */ cdev_tty_init(NCOM,com), /* 17: 16C450 serial interface */ cdev_disk_init(NWD,wd), /* 18: ST506/ESDI/IDE disk */ cdev_tty_init(NZS,zs), /* 19: Z8530 serial interface */ cdev_notdef(), /* 20: */ cdev_notdef(), /* 21: */ cdev_disk_init(NRD,rd), /* 22: ramdisk device */ cdev_notdef(), /* 23: was: concatenated disk driver */ cdev_notdef(), /* 24: */ cdev_wsdisplay_init(NWSDISPLAY, wsdisplay), /* 25: */ cdev_mouse_init(NWSKBD, wskbd), /* 26: */ cdev_mouse_init(NWSMOUSE, wsmouse), /* 27: */ cdev_mouse_init(NWSMUX, wsmux), /* 28: */ #ifdef USER_PCICONF cdev_pci_init(NPCI,pci), /* 29: PCI user */ #else cdev_notdef(), /* 29 */ #endif cdev_notdef(), /* 30: */ cdev_pf_init(NPF,pf), /* 31: packet filter */ cdev_uk_init(NUK,uk), /* 32: unknown SCSI */ cdev_random_init(1,random), /* 33: random data source */ cdev_notdef(), /* 34: */ cdev_ksyms_init(NKSYMS,ksyms), /* 35: Kernel symbols device */ cdev_ch_init(NCH,ch), /* 36: SCSI autochanger */ cdev_notdef(), /* 37: */ cdev_notdef(), /* 38: */ cdev_notdef(), /* 39: */ cdev_notdef(), /* 40: */ cdev_notdef(), /* 41: */
cdev_lkm_dummy(), /* 74: reserved */ cdev_lkm_dummy(), /* 75: reserved */ cdev_lkm_dummy(), /* 76: reserved */ cdev_fuse_init(NFUSE,fuse), /* 77: fuse */ cdev_notdef(), /* 78: removed device */ cdev_notdef(), /* 79: removed device */ cdev_notdef(), /* 80: removed device */ cdev_notdef(), /* 81: removed device */ cdev_notdef(), /* 82: removed device */ cdev_notdef(), /* 83: removed device */ cdev_notdef(), /* 84: removed device */ cdev_notdef(), /* 85: removed device */ cdev_notdef(), /* 86: removed device */ cdev_notdef(), /* 87: removed device */ #ifdef USER_PCICONF cdev_pci_init(NPCI,pci), /* 88: PCI user */ #else cdev_notdef(), #endif cdev_notdef(), /* 89: removed device */ cdev_notdef(), /* 90: removed device */ cdev_notdef(), /* 91: removed device */ cdev_notdef(), /* 92: removed device */ cdev_notdef(), /* 93: removed device */ cdev_notdef(), /* 94: removed device */ cdev_notdef(), /* 95: removed device */ cdev_notdef(), /* 96: removed device */ cdev_radio_init(NRADIO,radio), /* 97: generic radio I/O */ cdev_ptm_init(NPTY,ptm), /* 98: pseudo-tty ptm device */ cdev_spkr_init(NSPKR,spkr), /* 99: PC speaker */ cdev_vscsi_init(NVSCSI,vscsi), /* 100: vscsi */