mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io.
Approved by: kib (mentor)
This commit is contained in:
parent
933be1f00c
commit
61faa8d87d
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ le_pci_attach(device_t dev)
|
|||
LE_LOCK_INIT(sc, device_get_nameunit(dev));
|
||||
|
||||
pci_enable_busmaster(dev);
|
||||
pci_enable_io(dev, PCIM_CMD_PORTEN);
|
||||
pci_enable_io(dev, SYS_RES_IOPORT);
|
||||
|
||||
i = PCIR_BAR(0);
|
||||
lesc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue