cdev_lkm_dummy(), /* 38 */ cdev_pf_init(NPF,pf), /* 39: packet filter */ cdev_random_init(1,random), /* 40: random data source */ cdev_uk_init(NUK,uk), /* 41 */ cdev_notdef(), /* 42 */ cdev_ksyms_init(NKSYMS,ksyms), /* 43: Kernel symbols device */ cdev_ch_init(NCH,ch), /* 44: SCSI autochanger */ cdev_fuse_init(NFUSE,fuse), /* 45: fuse */ cdev_notdef(), /* 46 */ cdev_notdef(), /* 47 */ cdev_notdef(), /* 48 */ cdev_bio_init(NBIO,bio), /* 49: ioctl tunnel */ cdev_systrace_init(NSYSTRACE,systrace), /* 50 system call tracing */ cdev_notdef(), /* 51 */ cdev_ptm_init(NPTY,ptm), /* 52: pseudo-tty ptm device */ cdev_vscsi_init(NVSCSI,vscsi), /* 53: vscsi */ cdev_disk_init(1,diskmap), /* 54: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 55: pppx */ }; int nchrdev = nitems(cdevsw); 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 * provided as a character (raw) device.
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(), /* 85: NVRAM interface */ cdev_notdef(), /* 86: agp */ cdev_drm_init(NDRM,drm), /* 87: drm */ cdev_notdef(), /* 88: gpio */ cdev_vscsi_init(NVSCSI,vscsi), /* 89: vscsi */ cdev_disk_init(1,diskmap), /* 90: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 91: pppx */ }; int nchrdev = nitems(cdevsw); 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 * provided as a character (raw) device.
cdev_notdef(), /* 53: */ cdev_notdef(), /* 54: */ cdev_notdef(), /* 55: */ cdev_notdef(), /* 56: */ cdev_notdef(), /* 57: */ cdev_notdef(), /* 58: */ cdev_notdef(), /* 59: */ cdev_notdef(), /* 60: */ cdev_usb_init(NUSB,usb), /* 61: USB controller */ cdev_usbdev_init(NUHID,uhid), /* 62: USB generic HID */ cdev_usbdev_init(NUGEN,ugen), /* 63: USB generic driver */ cdev_ulpt_init(NULPT,ulpt), /* 64: USB printers */ cdev_notdef(), /* 65: was urio */ cdev_tty_init(NUCOM,ucom), /* 66: USB tty */ cdev_hotplug_init(NHOTPLUG,hotplug), /* 67: devices hotplugging */ cdev_vscsi_init(NVSCSI,vscsi), /* 68: vscsi */ cdev_disk_init(1,diskmap), /* 69: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 70: pppx */ cdev_notdef(), /* 71: */ cdev_notdef(), /* 72: was USB scanners */ cdev_fuse_init(NFUSE,fuse), /* 73: fuse */ }; int nchrdev = nitems(cdevsw); /* * 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
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 */ cdev_notdef(), cdev_disk_init(1,diskmap), /* 102: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 103: pppx */ }; int nblkdev = nitems(bdevsw); int nchrdev = nitems(cdevsw); 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