Date: Fri, 10 Dec 2010 15:05:49 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r216358 - head/sys/dev/le Message-ID: <201012101505.oBAF5n9X077454@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012101505.oBAF5n9X077454>