diff options
author | tijl <tijl@FreeBSD.org> | 2010-12-10 15:05:49 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2010-12-10 15:05:49 +0000 |
commit | 2294df24e3021060c16c4732bae5ab7059e85eb3 (patch) | |
tree | 347fb0eb4bebbf1213dd1b09a9ea3b7fe48f0848 /sys/dev/le | |
parent | db0bf4d239a5eeb3a83fece00d92006244b78db8 (diff) | |
download | FreeBSD-src-2294df24e3021060c16c4732bae5ab7059e85eb3.zip FreeBSD-src-2294df24e3021060c16c4732bae5ab7059e85eb3.tar.gz |
Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io.
Approved by: kib (mentor)
Diffstat (limited to 'sys/dev/le')
-rw-r--r-- | sys/dev/le/if_le_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/le/if_le_pci.c b/sys/dev/le/if_le_pci.c index af7d07b..ffa7cea 100644 --- a/sys/dev/le/if_le_pci.c +++ b/sys/dev/le/if_le_pci.c @@ -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, |