Add the defines for the cardbus extensions for 32 bit addressing. This

gets the cardbus code to compile, and I was successfully able to map
the CIS into high memory and probe/attach a 16 bit pccard.

Jonathan: feel free to replace this with your version if you want -
this is an expedient hack to get things to build and appear to work.
This commit is contained in:
peter 2001-01-07 02:26:40 +00:00
parent cdd7a99f2a
commit 4b50f61872

View File

@ -320,6 +320,15 @@
/* #define PCIC_RESERVED 0x3E */
/* #define PCIC_RESERVED 0x3F */
/* cardbus extensions - memory window page registers */
#define PCIC_MEMREG_WIN_SHIFT 24
#define PCIC_SYSMEM_ADDR0_WIN 0x40
#define PCIC_SYSMEM_ADDR1_WIN 0x41
#define PCIC_SYSMEM_ADDR2_WIN 0x42
#define PCIC_SYSMEM_ADDR3_WIN 0x43
#define PCIC_SYSMEM_ADDR4_WIN 0x44
/* vendor-specific registers */
#define PCIC_INTEL_GLOBAL_CTL 0x1E /* RW */