From 61faa8d87dbfa11c306aaec56175be340c417f10 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Fri, 10 Dec 2010 15:05:49 +0000 Subject: Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io. Approved by: kib (mentor) --- sys/dev/le/if_le_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/le') diff --git a/sys/dev/le/if_le_pci.c b/sys/dev/le/if_le_pci.c index af7d07bfb4fc..ffa7cea7e324 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, -- cgit v1.2.3