diff options
author | imp <imp@FreeBSD.org> | 2008-11-03 05:52:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-11-03 05:52:43 +0000 |
commit | ab0c44b3d80c8ad5df3b3415c746dd9b6d0a14ab (patch) | |
tree | c880212013a36ec416f23fe0774d054aeef42de7 | |
parent | 49efee1c21be2b416e1e03bd1901b4fcf2e5b332 (diff) | |
download | FreeBSD-src-ab0c44b3d80c8ad5df3b3415c746dd9b6d0a14ab.zip FreeBSD-src-ab0c44b3d80c8ad5df3b3415c746dd9b6d0a14ab.tar.gz |
We can't mask out the higher order bits and have the size come out
right... Good thing the size was ignored...
Where this macro is used, there's no reason to do it anyway. There
seems to have been some old-time confusion between the CIS pointer
definition, and the BAR definitions at the base of this bug.
-rw-r--r-- | sys/dev/cardbus/cardbusreg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cardbus/cardbusreg.h b/sys/dev/cardbus/cardbusreg.h index 0b4621f..ef93c6e 100644 --- a/sys/dev/cardbus/cardbusreg.h +++ b/sys/dev/cardbus/cardbusreg.h @@ -45,7 +45,7 @@ #define CARDBUS_EXROM_DATA_CODE_TYPE 0x14 /* Code Type */ #define CARDBUS_EXROM_DATA_INDICATOR 0x15 /* Indicator */ -#define CARDBUS_MAPREG_MEM_ADDR_MASK 0x0ffffff0 +#define CARDBUS_MAPREG_MEM_ADDR_MASK 0xfffffff0 #define CARDBUS_MAPREG_MEM_ADDR(mr) \ ((mr) & CARDBUS_MAPREG_MEM_ADDR_MASK) #define CARDBUS_MAPREG_MEM_SIZE(mr) \ |