summaryrefslogtreecommitdiff
path: root/etc/etc.i386/MAKEDEV
diff options
context:
space:
mode:
authorhvozda <hvozda@cvs.openbsd.org>1996-01-14 23:10:31 +0000
committerhvozda <hvozda@cvs.openbsd.org>1996-01-14 23:10:31 +0000
commitcbaaebbd1149ea79776994cf41244a1eda743335 (patch)
treec69380ed2f43e3bad058c5c089d291b3bfc08cbc /etc/etc.i386/MAKEDEV
parent431724c0fbbfa636c72a978587ddc06d8ee3b114 (diff)
New devices for PCMCIA support
Diffstat (limited to 'etc/etc.i386/MAKEDEV')
-rw-r--r--etc/etc.i386/MAKEDEV22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 41bc67d4474..f9fbb53257f 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -71,6 +71,7 @@
# lkm loadable kernel modules interface
# audio audio device
# tun* network tunnel driver
+# pcmcia* PCMCIA card drivers
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@@ -332,6 +333,27 @@ audio*)
chmod 666 audio sound mixer
;;
+pcmcia*)
+ rm -rf pcmcia
+ mkdir pcmcia
+ mknod pcmcia/bus c 26 32
+ mknod pcmcia/chip0 c 26 16
+ mknod pcmcia/chip1 c 26 17
+ mknod pcmcia/chip2 c 26 18
+ mknod pcmcia/chip3 c 26 19
+ mknod pcmcia/slot0 c 26 0
+ mknod pcmcia/slot1 c 26 1
+ mknod pcmcia/slot2 c 26 2
+ mknod pcmcia/slot3 c 26 3
+ mknod pcmcia/slot4 c 26 4
+ mknod pcmcia/slot5 c 26 5
+ mknod pcmcia/slot6 c 26 6
+ mknod pcmcia/slot7 c 26 7
+ chown -R root.wheel pcmcia
+ chmod 700 pcmcia
+ chmod 600 pcmcia/*
+ ;;
+
local)
umask 0
sh MAKEDEV.local