Author: tijl
Date: Fri Dec 10 15:05:49 2010
New Revision: 216358
URL: http://svn.freebsd.org/changeset/base/216358
Log:
Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io.
Approved by: kib (mentor)
Modified:
head/sys/dev/le/if_le_pci.c
Modified: head/sys/dev/le/if_le_pci.c
==============================================================================
--- head/sys/dev/le/if_le_pci.c Fri Dec 10 14:07:08 2010 (r216357)
+++ head/sys/dev/le/if_le_pci.c Fri Dec 10 15:05:49 2010 (r216358)
@@ -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,
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"