mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use the explicit value 0xffffffff instead of assuming that is what ~0UL
equals. Approved by: imp
This commit is contained in:
parent
f37f15337d
commit
02ccdce8db
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ cardbus_read_tuple_init(device_t cbdev, device_t child, u_int32_t *start,
|
|||
case CARDBUS_CIS_ASI_BAR4:
|
||||
case CARDBUS_CIS_ASI_BAR5:
|
||||
*rid = CARDBUS_BASE0_REG + (CARDBUS_CIS_SPACE(*start) - 1) * 4;
|
||||
pci_write_config(child, *rid, ~0UL, 4);
|
||||
pci_write_config(child, *rid, 0xffffffff, 4);
|
||||
break;
|
||||
case CARDBUS_CIS_ASI_ROM:
|
||||
*rid = CARDBUS_ROM_REG;
|
||||
|
|
|
|||
Loading…
Reference in a new issue