summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorshige <shige@NetBSD.org>2005-01-23 19:24:31 +0000
committershige <shige@NetBSD.org>2005-01-23 19:24:31 +0000
commit5ed37446b2ec6d4fb06aecd4d594ce18c4579f8a (patch)
tree5cdf6140540fab7f7506abe6f70978d567dac276 /sys
parent17dda5276893e9e0c3eb72070dd003c864f42865 (diff)
Add gpio module.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/conf/files.ibm4xx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/powerpc/conf/files.ibm4xx b/sys/arch/powerpc/conf/files.ibm4xx
index 6967152cc08..f80cb5836f2 100644
--- a/sys/arch/powerpc/conf/files.ibm4xx
+++ b/sys/arch/powerpc/conf/files.ibm4xx
@@ -1,4 +1,4 @@
-# $NetBSD: files.ibm4xx,v 1.6 2005/01/17 17:13:49 shige Exp $
+# $NetBSD: files.ibm4xx,v 1.7 2005/01/23 19:24:31 shige Exp $
#
# IBM 4xx specific configuration info
@@ -29,6 +29,11 @@ file arch/powerpc/ibm4xx/dev/ecc_plb.c ecc_plb
attach com at opb with com_opb
file arch/powerpc/ibm4xx/dev/com_opb.c com_opb
+# On-chip GPIO controller
+device gpio { addr, [size = -1] }
+attach gpio at opb
+file arch/powerpc/ibm4xx/dev/gpio_opb.c gpio
+
# On-chip ethernet device(s)
device emac: ether, ifnet, arp, mii
attach emac at opb