svn commit: r216358 - head/sys/dev/le
John Baldwin
jhb at freebsd.org
Fri Dec 10 15:52:08 UTC 2010
On Friday, December 10, 2010 10:05:49 am Tijl Coosemans wrote:
> 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)
To be honest, bus_alloc_resource() with RF_ACTIVE will set PORTEN or MEMEN for
you. Drivers should no longer be calling pci_enable_io() by hand.
--
John Baldwin
More information about the svn-src-head
mailing list