diff options
author | imp <imp@FreeBSD.org> | 2003-05-24 23:23:41 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-05-24 23:23:41 +0000 |
commit | ebc58977d3a477711b1d81579908dde8f735e187 (patch) | |
tree | 9cb594b620f2c5fb769c93f25352b8fd92ab9a90 /sys | |
parent | ca381c2e5ad330b45fdbf891e5e81d5ec2e4af95 (diff) | |
download | FreeBSD-src-ebc58977d3a477711b1d81579908dde8f735e187.zip FreeBSD-src-ebc58977d3a477711b1d81579908dde8f735e187.tar.gz |
Ignore the 'must allocate below 1MB' flag for the TPL_BAR_REG. It is
set on realtek cards, but they work without it (and don't work with
it). The standard seems to imply that this is just a hint anyway, so
this should be harmless. It doesn't appear to be set on any other
cardbus cards that I have (or have seen).
This should make the rl based CardBus cards work again. I've been
running it for about a month now.
Approved by: re@ (jhb)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cardbus/cardbus_cis.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.c b/sys/dev/cardbus/cardbus_cis.c index 73cda20..2878f13 100644 --- a/sys/dev/cardbus/cardbus_cis.c +++ b/sys/dev/cardbus/cardbus_cis.c @@ -423,8 +423,10 @@ decode_tuple_bar(device_t cbdev, device_t child, int id, if (type == SYS_RES_MEMORY) { if (reg & TPL_BAR_REG_PREFETCHABLE) dinfo->mprefetchable |= BARBIT(bar); +#if 0 if (reg & TPL_BAR_REG_BELOW1MB) dinfo->mbelow1mb |= BARBIT(bar); +#endif } /* |