summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-03-18 20:28:27 +0000
committernate <nate@FreeBSD.org>1996-03-18 20:28:27 +0000
commitaaff9b04b7a168ee08c961399f8d75115f204e9f (patch)
treeba3f8e95bb849b2eadfca199464d87b8ce8a7451 /etc
parent472c26292e92cf055edbd9c184f493a472c0e806 (diff)
downloadFreeBSD-src-aaff9b04b7a168ee08c961399f8d75115f204e9f.zip
FreeBSD-src-aaff9b04b7a168ee08c961399f8d75115f204e9f.tar.gz
Added some comments regarding the apm device, and added support to
create the PC-CARD devices. Note: The APM character special device is named /dev/apm and not apm0 as was prvioiusly since only one APM device can exist in a system at a time according to the the APM specifications.
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV24
-rw-r--r--etc/etc.i386/MAKEDEV24
2 files changed, 38 insertions, 10 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index a876e4e..c17da62 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -77,7 +77,11 @@
# worm* WORM driver
# pt* Processor Type (HP scanner, as one example)
#
+# PC-CARD (previously called PCMCIA) support
+# card* PC-CARD slots
+#
# Special purpose devices:
+# apm Advanced Power Management BIOS
# bpf* packet filter
# speaker pc speaker
# tw* xten power controller
@@ -94,7 +98,7 @@
# isdn* ISDN devices
# labpc* National Instrument's Lab-PC and LAB-PC+
#
-# $Id: MAKEDEV,v 1.112 1996/01/31 15:02:51 mpp Exp $
+# $Id: MAKEDEV,v 1.113 1996/02/02 19:25:15 pst Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -952,10 +956,20 @@ gsc*)
;;
apm*)
- rm -f apm0
- mknod apm0 c 39 0
- chown root.operator apm0
- chmod 660 apm0
+ rm -f apm
+ chr=39
+ mknod apm c $chr 0
+ chown root.operator apm
+ chmod 660 apm
+ ;;
+
+card*)
+ unit=`expr $i : 'card\(.*\)'
+ chr=50
+ rm -f card$unit
+ mknod card$unit c $chr $unit
+ chmod 644 card$unit
+ chown root.wheel card$unit
;;
ttyx?|ttyy?|ttyz?)
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index a876e4e..c17da62 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -77,7 +77,11 @@
# worm* WORM driver
# pt* Processor Type (HP scanner, as one example)
#
+# PC-CARD (previously called PCMCIA) support
+# card* PC-CARD slots
+#
# Special purpose devices:
+# apm Advanced Power Management BIOS
# bpf* packet filter
# speaker pc speaker
# tw* xten power controller
@@ -94,7 +98,7 @@
# isdn* ISDN devices
# labpc* National Instrument's Lab-PC and LAB-PC+
#
-# $Id: MAKEDEV,v 1.112 1996/01/31 15:02:51 mpp Exp $
+# $Id: MAKEDEV,v 1.113 1996/02/02 19:25:15 pst Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -952,10 +956,20 @@ gsc*)
;;
apm*)
- rm -f apm0
- mknod apm0 c 39 0
- chown root.operator apm0
- chmod 660 apm0
+ rm -f apm
+ chr=39
+ mknod apm c $chr 0
+ chown root.operator apm
+ chmod 660 apm
+ ;;
+
+card*)
+ unit=`expr $i : 'card\(.*\)'
+ chr=50
+ rm -f card$unit
+ mknod card$unit c $chr $unit
+ chmod 644 card$unit
+ chown root.wheel card$unit
;;
ttyx?|ttyy?|ttyz?)
OpenPOWER on IntegriCloud