Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Add gpio devices to template.
details: https://anonhg.NetBSD.org/src/rev/8851910bb567
branches: trunk
changeset: 584702:8851910bb567
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Sep 27 02:44:12 2005 +0000
description:
Add gpio devices to template.
diffstat:
etc/MAKEDEV.tmpl | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r b9da0202cd64 -r 8851910bb567 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Tue Sep 27 02:42:44 2005 +0000
+++ b/etc/MAKEDEV.tmpl Tue Sep 27 02:44:12 2005 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.47 2005/07/30 06:14:49 skrll Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.48 2005/09/27 02:44:12 jmcneill Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -466,6 +466,7 @@
makedev local
makedev atabus0 atabus1 atabus2 atabus3
makedev tap tap0 tap1 tap2 tap3
+ makedev gpio gpio0 gpio1 gpio2 gpio3
;;
init)
@@ -482,6 +483,11 @@
lndev audioctl0 audioctl
;;
+gpio)
+ makedev gpio0 gpio1 gpio2 gpio3
+ lndev gpio0 gpio
+ ;;
+
radio)
makedev radio0 radio1
lndev radio0 radio
@@ -961,6 +967,11 @@
mkdev $audioctl c %audio_chr% $(($unit + 192)) 666
;;
+gpio*)
+ unit=${i#gpio}
+ mkdev gpio$unit c %gpio_chr% $unit 644
+ ;;
+
rmidi*)
unit=${i#rmidi}
mkdev rmidi$unit c %midi_chr% $unit 666
Home |
Main Index |
Thread Index |
Old Index