Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io.

Approved by:	kib (mentor)
This commit is contained in:
Tijl Coosemans 2010-12-10 15:05:49 +00:00
parent 933be1f00c
commit 61faa8d87d

View file

@ -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,