summaryrefslogtreecommitdiffstats
path: root/sys/dev/exca
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-08-12 08:53:54 +0000
committerimp <imp@FreeBSD.org>2006-08-12 08:53:54 +0000
commit99a2d2e8b4221b9e09ed977bd97f84da880a6da1 (patch)
tree9d5f6357386322f79919be1a95aa95b1af75099a /sys/dev/exca
parente1c874eddae9ec6e620c76731899134baa1b528e (diff)
downloadFreeBSD-src-99a2d2e8b4221b9e09ed977bd97f84da880a6da1.zip
FreeBSD-src-99a2d2e8b4221b9e09ed977bd97f84da880a6da1.tar.gz
The TOPIC97 and TOPIC100 seem to have a special register in the exca
space that enables low voltage operation (and maybe other stuff). Enable the bits in this register so low voltage 16-bit cards may work. Existance noticed in NetBSD driver.
Diffstat (limited to 'sys/dev/exca')
-rw-r--r--sys/dev/exca/excareg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/exca/excareg.h b/sys/dev/exca/excareg.h
index 094379e..3bb3b4c 100644
--- a/sys/dev/exca/excareg.h
+++ b/sys/dev/exca/excareg.h
@@ -402,6 +402,12 @@
#define EXCA_O2CC_IREQ_INTC 0x80
#define EXCA_O2CC_STSCHG_INTC 0x20
+/*
+ * TOPIC specific registers
+ */
+#define EXCA_TOPIC97_CTRL 0x3e
+#define EXCA_TOPIC97_CTRL_LV_MASK 0x03
+
/* Plug and play */
#define EXCA_PNP_ACTIONTEC 0x1802A904 /* AEI0218 */
#define EXCA_PNP_IBM3765 0x65374d24 /* IBM3765 */
OpenPOWER on IntegriCloud