diff options
author | Warner Losh <imp@FreeBSD.org> | 2001-08-19 05:01:18 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2001-08-19 05:01:18 +0000 |
commit | 6ac061b532a4d620fe9a1fbd1b0c8101b67d8ceb (patch) | |
tree | 4e63915801d736650dadd97fa7343efa3c989826 /sys/pccard/pcic_pci.h | |
parent | aad8d9883337ed3082f650a31873cefd70af2664 (diff) | |
download | src-6ac061b532a4d620fe9a1fbd1b0c8101b67d8ceb.tar.gz src-6ac061b532a4d620fe9a1fbd1b0c8101b67d8ceb.zip |
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.
Notes
Notes:
svn path=/head/; revision=81909
Diffstat (limited to 'sys/pccard/pcic_pci.h')
-rw-r--r-- | sys/pccard/pcic_pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.h b/sys/pccard/pcic_pci.h index f5c7fd43419b..928f4786e690 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 */ |