Date: Tue, 29 Jul 2008 11:11:06 -0400 From: John Baldwin <jhb@freebsd.org> To: Pyun YongHyeon <yongari@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200807291111.07260.jhb@freebsd.org> In-Reply-To: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> References: <200807290849.m6T8nhQ9086818@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807291111.07260.jhb>