NetBSD/sys/arch/playstation2/conf/majors.playstation2
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00

45 lines
1.4 KiB
Plaintext

# $NetBSD: majors.playstation2,v 1.2 2002/09/06 13:18:43 gehenna Exp $
#
# Device majors for playstation2
#
device-major mem char 0
device-major swap char 1 block 0
device-major cons char 2
device-major ctty char 3
device-major filedesc char 4
device-major log char 5
device-major ptc char 6 pty
device-major pts char 7 pty
device-major wd char 10 block 1 wd
device-major md char 12 block 6 md
device-major ccd char 13 block 7 ccd
device-major vnd char 14 block 8 vnd
device-major raid char 15 block 9 raid
device-major scsibus char 16 scsibus
device-major sd char 17 block 3 sd
device-major st char 18 block 4 st
device-major cd char 19 block 5 cd
device-major ch char 20 ch
device-major uk char 21 uk
device-major ss char 22 ss
device-major ipl char 23 ipfilter
device-major tun char 24 tun
device-major bpf char 25 bpfilter
device-major rnd char 26 rnd
device-major wsdisplay char 27 wsdisplay
device-major wskbd char 28 wskbd
device-major wsmouse char 29 wsmouse
device-major wsmux char 30 wsmux
device-major usb char 31 usb
device-major uhid char 32 uhid
device-major ulpt char 33 ulpt
device-major ugen char 34 ugen
device-major ucom char 35 ucom
device-major urio char 36 urio
device-major uscanner char 37 uscanner
device-major clockctl char 38 clockctl
device-major systrace char 39 systrace