From 4b50f6187228a8d5849533bbf231902d84192d57 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 7 Jan 2001 02:26:40 +0000 Subject: [PATCH] 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. --- sys/dev/pcic/i82365reg.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/dev/pcic/i82365reg.h b/sys/dev/pcic/i82365reg.h index 684b1cdb9b48..2025ef49c4c7 100644 --- a/sys/dev/pcic/i82365reg.h +++ b/sys/dev/pcic/i82365reg.h @@ -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 */