summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/elan520reg.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-06-05 15:06:23 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-06-05 15:06:23 +0000
commit42f49c9281dfbaea39b28fca5d254ff5cfa7f7b9 (patch)
treee4dde5abe31c30292314c9a0d9523ffa2dfa0e82 /sys/arch/i386/pci/elan520reg.h
parentf614b159c3bebabad248000917a61df53cf95ffd (diff)
GPIO support for AMD Elan SC520 found on Soekris net45x1 boards.
Test and ok markus@.
Diffstat (limited to 'sys/arch/i386/pci/elan520reg.h')
-rw-r--r--sys/arch/i386/pci/elan520reg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/pci/elan520reg.h b/sys/arch/i386/pci/elan520reg.h
index d53d8decb43..2f954bdcaea 100644
--- a/sys/arch/i386/pci/elan520reg.h
+++ b/sys/arch/i386/pci/elan520reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: elan520reg.h,v 1.1 2003/01/21 17:02:29 markus Exp $ */
+/* $OpenBSD: elan520reg.h,v 1.2 2004/06/05 15:06:22 grange Exp $ */
/* $NetBSD: elan520reg.h,v 1.1 2002/08/12 01:03:14 thorpej Exp $ */
/*-
@@ -98,6 +98,8 @@
#define MMCR_PIOCLR15_0 0x0c38 /* PIO15-PIO0 clear */
#define MMCR_PIOCLR31_16 0x0c3a /* PIO31-PIO16 clear */
+#define ELANSC_PIO_NPINS 32 /* total number of PIO pins */
+
/*
* Watchdog Timer Registers.
*/