summaryrefslogtreecommitdiffstats
path: root/sys/pccard/i82365.h
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-01-06 07:49:43 +0000
committernate <nate@FreeBSD.org>1996-01-06 07:49:43 +0000
commit4200f0d643424f01e8e5b65ff5b6f408dfb2dac6 (patch)
tree67190a08ed095c38bb0c9947a79c4acf7201cd4b /sys/pccard/i82365.h
parentccd7b7cc3f86658d755de89e06b2389c150642c3 (diff)
downloadFreeBSD-src-4200f0d643424f01e8e5b65ff5b6f408dfb2dac6.zip
FreeBSD-src-4200f0d643424f01e8e5b65ff5b6f408dfb2dac6.tar.gz
Don't rely on the card 'automatically' powering up when we probe it.
On some laptops, this doesn't work (ie; IBM 75x series), so force it to power on. With this modification, I am able to read the tuples off 4 different PCMCIA cards on my ThinkPad. Reviewed by: phk@FreeBSD.org Obtained from: if_zp.c
Diffstat (limited to 'sys/pccard/i82365.h')
-rw-r--r--sys/pccard/i82365.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h
index 3ca9683..a6cec01 100644
--- a/sys/pccard/i82365.h
+++ b/sys/pccard/i82365.h
@@ -102,6 +102,7 @@
#define PCIC_OUTENA 0x80 /* Output Enable */
#define PCIC_DISRST 0x40 /* Disable RESETDRV */
#define PCIC_APSENA 0x20 /* Auto Pwer Switch Enable */
+#define PCIC_PCPWRE 0x10 /* PC Card Power Enable */
#define PCIC_VCC 0x18 /* Vcc control bits */
#define PCIC_VCC_5V 0x10 /* 5 volts */
#define PCIC_VCC_3V 0x18 /* 3 volts */
OpenPOWER on IntegriCloud