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.

-- 
John Baldwin
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to