mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Use a constant instead of a magic number for the flag that enables decoding
of a device ROM.
This commit is contained in:
parent
bac2c9636c
commit
ef36004841
1 changed files with 1 additions and 1 deletions
|
|
@ -485,7 +485,7 @@ mpt_pci_attach(device_t dev)
|
|||
* Make sure we've disabled the ROM.
|
||||
*/
|
||||
data = pci_read_config(dev, PCIR_BIOS, 4);
|
||||
data &= ~1;
|
||||
data &= ~PCIM_BIOS_ENABLE;
|
||||
pci_write_config(dev, PCIR_BIOS, data, 4);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue