diff options
author | peter <peter@FreeBSD.org> | 2001-01-07 02:26:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-07 02:26:40 +0000 |
commit | 4b3b78742b63f154d662836832aa6769836fe326 (patch) | |
tree | 2be5322921bc15b63bf3d2d06529487f9ebdf582 /sys/dev/pcic | |
parent | ef95623db010c0cd9581c7856e7482b616ba61ed (diff) | |
download | FreeBSD-src-4b3b78742b63f154d662836832aa6769836fe326.zip FreeBSD-src-4b3b78742b63f154d662836832aa6769836fe326.tar.gz |
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.
Diffstat (limited to 'sys/dev/pcic')
-rw-r--r-- | sys/dev/pcic/i82365reg.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/pcic/i82365reg.h b/sys/dev/pcic/i82365reg.h index 684b1cd..2025ef4 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 */ |