Date: Wed, 30 Jul 2008 08:05:31 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Pyun YongHyeon <yongari@freebsd.org> Subject: Re: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <20080729230531.GB407@cdnetworks.co.kr> In-Reply-To: <200807291111.07260.jhb@freebsd.org> References: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> <200807291111.07260.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080729230531.GB407>