mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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)
This commit is contained in:
parent
d7f827116f
commit
f9aedaa4ba
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue