mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix my error in rev. 1.109.
Submitted by: jhb Pointy hat to: glebius
This commit is contained in:
parent
444f80d54b
commit
824d7cd2cc
1 changed files with 2 additions and 2 deletions
|
|
@ -1973,8 +1973,8 @@ em_identify_hardware(struct adapter *adapter)
|
|||
|
||||
/* Make sure our PCI config space has the necessary stuff set */
|
||||
adapter->hw.pci_cmd_word = pci_read_config(dev, PCIR_COMMAND, 2);
|
||||
if ((adapter->hw.pci_cmd_word & PCIM_CMD_BUSMASTEREN) == 0 &&
|
||||
(adapter->hw.pci_cmd_word & PCIM_CMD_MEMEN)) {
|
||||
if (!((adapter->hw.pci_cmd_word & PCIM_CMD_BUSMASTEREN) &&
|
||||
(adapter->hw.pci_cmd_word & PCIM_CMD_MEMEN))) {
|
||||
device_printf(dev, "Memory Access and/or Bus Master bits "
|
||||
"were not set!\n");
|
||||
adapter->hw.pci_cmd_word |=
|
||||
|
|
|
|||
Loading…
Reference in a new issue