cvs commit: src/sys/dev/bfe if_bfe.c
Pyun YongHyeon
pyunyh at gmail.com
Tue Jul 29 23:07:43 UTC 2008
On Tue, Jul 29, 2008 at 11:11:06AM -0400, John Baldwin wrote:
> On Tuesday 29 July 2008 04:49:36 am Pyun YongHyeon wrote:
> > yongari 2008-07-29 08:49:36 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/dev/bfe if_bfe.c
> > Log:
> > SVN rev 180952 on 2008-07-29 08:49:36Z by yongari
> >
> > Cache PCI vendor/device ids to avoid unnecessary PCI configuration
> > space access in device probe.
> > Also nuke referencing softc in device probe.
>
> pci_get_vendor() and pci_get_device() don't do configuration space accessses,
> they read values cached in the ivars for the device maintained by the PCI bus
> driver.
>
I stand corrected. Thanks for pointing out!
--
Regards,
Pyun YongHyeon
More information about the cvs-all
mailing list