From owner-cvs-src@FreeBSD.ORG Tue Jul 29 23:07:43 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFA2E1065683 for ; Tue, 29 Jul 2008 23:07:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 4B68D8FC18 for ; Tue, 29 Jul 2008 23:07:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so161657rvf.43 for ; Tue, 29 Jul 2008 16:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=V4RZ6KkQURkon9/mommT2T7KePh9bhzTGSqHhD2Kt40=; b=uI3qpmY04SLJvwF8KIZ7iDy/zZ4EEo0AKD9PUJUeP8L/QWAOuQOCl+TX7+HoqFslYa B8GhWOFtKSWJNgq9QI07rKwYl2xus+sXyGPCR9WaayXyIEi+UxtaqxFEkV4/qTdI9T94 Ep7hgj9htKE2vhrUPBqaSW+zMUahg3Dxx65uE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=OyqzqzW2DlffYOguPKITm76rz+k1TQWnSPQHfFQ57NdUMsNki0YmULq3yY6OCWFlFK LY2FKvyvFOfFy1zkZuiXeZVPdN9Wqv8t+0KgshOeJpfgMeJAZkAX3aaMHGJC5jwceUGk RdNnF8Kcv4k0J69BVU5fBTziUe4RegkWr7JFA= Received: by 10.141.178.17 with SMTP id f17mr3783377rvp.52.1217372862688; Tue, 29 Jul 2008 16:07:42 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id k41sm303808rvb.3.2008.07.29.16.07.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jul 2008 16:07:41 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m6TN5V5C000546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Jul 2008 08:05:31 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m6TN5Vag000545; Wed, 30 Jul 2008 08:05:31 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 30 Jul 2008 08:05:31 +0900 From: Pyun YongHyeon To: John Baldwin Message-ID: <20080729230531.GB407@cdnetworks.co.kr> References: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> <200807291111.07260.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807291111.07260.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/bfe if_bfe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2008 23:07:43 -0000 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