Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/conf Add gpio module.



details:   https://anonhg.NetBSD.org/src/rev/a12f59e0a398
branches:  trunk
changeset: 573248:a12f59e0a398
user:      shige <shige%NetBSD.org@localhost>
date:      Sun Jan 23 19:24:31 2005 +0000

description:
Add gpio module.

diffstat:

 sys/arch/powerpc/conf/files.ibm4xx |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 8b99d17b5ea6 -r a12f59e0a398 sys/arch/powerpc/conf/files.ibm4xx
--- a/sys/arch/powerpc/conf/files.ibm4xx        Sun Jan 23 19:22:22 2005 +0000
+++ b/sys/arch/powerpc/conf/files.ibm4xx        Sun Jan 23 19:24:31 2005 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index