summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_pci.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-08-19 05:01:18 +0000
committerimp <imp@FreeBSD.org>2001-08-19 05:01:18 +0000
commit33c3c53a533a006733f0b78847fcf122188e0d74 (patch)
tree4e63915801d736650dadd97fa7343efa3c989826 /sys/pccard/pcic_pci.h
parentc51d4d8eeeb05a290cd206983dba6d49fa070cf8 (diff)
downloadFreeBSD-src-33c3c53a533a006733f0b78847fcf122188e0d74.zip
FreeBSD-src-33c3c53a533a006733f0b78847fcf122188e0d74.tar.gz
Improve interlocking for card removal. We now can remove the card in
the ISR. We keep track of the card state and don't call the IRS when the card isn't inserted. This helps quite a bit with card ejection problems that Ian was seeing. Submitted by: Ian Dowse MFC upon: re approvel.
Diffstat (limited to 'sys/pccard/pcic_pci.h')
-rw-r--r--sys/pccard/pcic_pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.h b/sys/pccard/pcic_pci.h
index f5c7fd4..928f478 100644
--- a/sys/pccard/pcic_pci.h
+++ b/sys/pccard/pcic_pci.h
@@ -144,8 +144,8 @@
#define CB_SOCKET_POWER 0x14
#define CB_EXCA_OFFSET 0x800 /* Offset for ExCA registers */
-#define CB_SM_CD 0x6 /* Socket MASK Card detect */
#define CB_SE_CD 0x6 /* Socket Event Card detect */
+#define CB_SM_CD 0x6 /* Socket MASK Card detect */
#define CB_SS_CARDSTS 0x00000001 /* Card Status Change */
#define CB_SS_CD1 0x00000002 /* Card Detect 1 */
OpenPOWER on IntegriCloud