summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-07-17 05:43:39 +0000
committerimp <imp@FreeBSD.org>2002-07-17 05:43:39 +0000
commitc6dc2b0bae4a9b6faa5c29e83dd5567e004ea067 (patch)
tree389921e02c06c82d5688a3646d4f95782be37a57 /sys/pccard
parent22d1581cc272b03c5908a43b399807ad9dbc7780 (diff)
downloadFreeBSD-src-c6dc2b0bae4a9b6faa5c29e83dd5567e004ea067.zip
FreeBSD-src-c6dc2b0bae4a9b6faa5c29e83dd5567e004ea067.tar.gz
Add definitions for the Ext 1 register on cirrus logic PD-6729.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/i82365.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h
index 7e2ca8d..7fa4dc6 100644
--- a/sys/pccard/i82365.h
+++ b/sys/pccard/i82365.h
@@ -262,6 +262,15 @@
#define PCIC_VS1B 0x04
#define PCIC_VS2B 0x08
+/* Cirrus Logic: Extended register Extension Control 1 */
+#define PCIC_EXTCTRL1 0x03
+#define PCIC_EC1_VCC_LOCK 0x1 /* Vcc Power locked to s/w change */
+#define PCIC_EC1_AUTO_POWER_CLEAR 0x2 /* Vcc power cleared on eject? */
+#define PCIC_EC1_LED_ENABLE 0x4 /* LED activity enable */
+#define PCIC_EC1_CARD_IRQ_INV 0x8 /* Card IRQ level inverted for pci? */
+#define PCIC_EC1_CSC_IRQ_INV 0x10 /* CSC IRQ level inverted for pci? */
+#define PCIC_EC1_PULLUP 0x20 /* Dis pullup when 1. */
+
/* Vadem: Card Voltage Select register (PCIC_CVSR) */
#define PCIC_CVSR_VS 0x03 /* Voltage select */
#define PCIC_CVSR_VS_5 0x00 /* 5.0 V */
OpenPOWER on IntegriCloud