diff options
Diffstat (limited to 'etc/etc.loongson/MAKEDEV')
-rw-r--r-- | etc/etc.loongson/MAKEDEV | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/etc/etc.loongson/MAKEDEV b/etc/etc.loongson/MAKEDEV index cc06ca7244e..56d788a9012 100644 --- a/etc/etc.loongson/MAKEDEV +++ b/etc/etc.loongson/MAKEDEV @@ -46,15 +46,15 @@ # pty* Set of 62 master pseudo terminals # tty* Set of 62 slave pseudo terminals # Console ports: -# wscons Minimal wscons devices # ttyC-J* wscons display devices +# wscons Minimal wscons devices # wskbd* wscons keyboards # wsmux wscons keyboard/mouse mux devices # Pointing devices: # wsmouse* wscons mice # USB devices: -# uall All USB devices # ttyU* USB serial ports +# uall All USB devices # ugen* Generic USB devices # uhid* Generic HID devices # ulpt* Printer devices @@ -65,9 +65,12 @@ # audio* Audio devices # bio ioctl tunnel pseudo-device # bpf* Berkeley Packet Filter +# bthub* Bluetooth Hubs # crypto Hardware crypto access driver +# diskmap Disk mapper # fd fd/* nodes # hotplug devices hot plugging +# nnpfs* NNPFS filesystem node # pci* PCI bus devices # pf* Packet Filter # *random In-kernel random data source @@ -75,10 +78,7 @@ # tun* Network tunnel driver # uk* Unknown SCSI devices # video* Video V4L2 devices -# nnpfs* NNPFS filesystem node -# bthub* Bluetooth Hubs # vscsi* Virtual SCSI controller -# diskmap Disk mapper PATH=/sbin:/usr/sbin:/bin:/usr/bin T=$0 @@ -218,22 +218,10 @@ std) M klog c 6 0 600 ;; -diskmap) - M diskmap c 70 0 640 operator - ;; - vscsi*) M vscsi$U c 69 $U 600 ;; -bthub*) - M bthub$U c 68 $U - ;; - -nnpfs*) - M nnpfs$U c 51 $U 600 - ;; - video*) M video$U c 45 $U MKlist[${#MKlist[*]}]=";[ -e video ] || ln -s video$U video" @@ -269,6 +257,10 @@ pci*) MKlist[${#MKlist[*]}]=";[ -h pci ] || ln -sf pci0 pci" ;; +nnpfs*) + M nnpfs$U c 51 $U 600 + ;; + hotplug) M hotplug c 67 $U 400 ;; @@ -279,10 +271,18 @@ fd) MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; +diskmap) + M diskmap c 70 0 640 operator + ;; + crypto) M crypto c 47 0 ;; +bthub*) + M bthub$U c 68 $U + ;; + bpf*) M bpf$U c 12 $U 600 ;; @@ -332,6 +332,11 @@ ugen*) done ;; +uall) + R ttyU0 ttyU1 ttyU2 ttyU3 ugen0 ugen1 ulpt0 ulpt1 uhid0 uhid1 + R uhid2 uhid3 urio0 usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7 + ;; + ttyU[0-9a-zA-Z]) U=${i#ttyU*} o=$(alph2d $U) @@ -339,11 +344,6 @@ ttyU[0-9a-zA-Z]) M cuaU$U c 66 $(($o+128)) 660 dialer uucp ;; -uall) - R ttyU0 ttyU1 ttyU2 ttyU3 ugen0 ugen1 ulpt0 ulpt1 uhid0 uhid1 - R uhid2 uhid3 urio0 usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7 - ;; - wsmouse[0-9]*) M wsmouse$U c 27 $U 600 ;; @@ -357,6 +357,12 @@ wskbd[0-9]*) M wskbd$U c 26 $U 600 ;; +wscons) + R wsmouse0 wsmouse1 wsmouse2 wsmouse3 wskbd0 wskbd1 wskbd2 + R wskbd3 wsmux ttyCcfg ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 + R ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb + ;; + tty[C-J]*) U=${i##tty[C-J]} case $i in @@ -376,12 +382,6 @@ tty[C-J]*) esac ;; -wscons) - R wsmouse0 wsmouse1 wsmouse2 wsmouse3 wskbd0 wskbd1 wskbd2 - R wskbd3 wsmux ttyCcfg ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 - R ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb - ;; - pty*) if [ $U -gt 15 ]; then echo bad unit for pty in: $i |