summaryrefslogtreecommitdiffstats
path: root/sys/dev/exca
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-06-06 06:00:49 +0000
committerimp <imp@FreeBSD.org>2003-06-06 06:00:49 +0000
commited66329ff94f7fbf571d20082d95e6ee2970dcae (patch)
treeb0025db0ae92a06fdd772104430c7893080dc5e8 /sys/dev/exca
parenta7ad93e446c2e32af58a664874614f17eb031896 (diff)
downloadFreeBSD-src-ed66329ff94f7fbf571d20082d95e6ee2970dcae.zip
FreeBSD-src-ed66329ff94f7fbf571d20082d95e6ee2970dcae.tar.gz
Add two of three workarounds for interrupt storms for o2micro parts as
obtained from o2micro. These should only be needed for 'older' o2micro bridges (anything before the 7xxx series of bridges), but will work with the new bridges. # I don't plan on porting it to oldcard, but will happily commit to # oldcard if someone else needs them.
Diffstat (limited to 'sys/dev/exca')
-rw-r--r--sys/dev/exca/excareg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/exca/excareg.h b/sys/dev/exca/excareg.h
index bb03ace..e2f092a 100644
--- a/sys/dev/exca/excareg.h
+++ b/sys/dev/exca/excareg.h
@@ -395,6 +395,13 @@
#define EXCA_RID_296 0x32
#define EXCA_RID_396 0xb2
+/*
+ * o2 micro specific registers
+ */
+#define EXCA_O2MICRO_CTRL_C 0x3a
+#define EXCA_O2CC_IREQ_INTC 0x80
+#define EXCA_O2CC_STSCHG_INTC 0x20
+
/* Plug and play */
#define EXCA_PNP_ACTIONTEC 0x1802A904 /* AEI0218 */
#define EXCA_PNP_IBM3765 0x65374d24 /* IBM3765 */
OpenPOWER on IntegriCloud