From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 6 15:40:21 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E06816A41F for ; Sun, 6 Nov 2005 15:40:21 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from speedfactory.net (mail5.speedfactory.net [66.23.216.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B192343D45 for ; Sun, 6 Nov 2005 15:40:20 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 1468683 for multiple; Sun, 06 Nov 2005 10:42:23 -0500 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jA6FeDlQ003644; Sun, 6 Nov 2005 10:40:16 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-hackers@FreeBSD.org Date: Sun, 6 Nov 2005 10:07:02 -0500 User-Agent: KMail/1.8 References: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.com> <20051105.140416.69987626.imp@bsdimp.com> <87ab37ab0511060314m2eef7458vefc4f5f657ea6501@mail.gmail.com> In-Reply-To: <87ab37ab0511060314m2eef7458vefc4f5f657ea6501@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511061007.03634.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=100 Cc: kylin Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 15:40:21 -0000 On Sunday 06 November 2005 06:14 am, kylin wrote: > On 11/6/05, M. Warner Losh wrote: > > In message: <87ab37ab0511032030o134b9316j83295dd303e4e44b@mail.gmail.co= m> > > > > kylin writes: > > : /////////////// > > : pci bridge dynamic resize > > : ///////////// > > : it seems that the device arch of freebsd is similar to what is reveal= ed > > : in window OS. i have read the pcie hotplug tps of windows longhorn ,it > > : is said that with some hardware mechanisms the pci bridge driver can = do > > : global pci resource window reconfiguration.so good to the hotplugin p= ci > > : device for it avoid prelocating resource for the device . > > : i wonder ,if the mem /io/irq reconfiguration possible under freebsd .= :) > > : 1 > > > > Yes. Cardbus does it all the time. However, there's no pcie hot-plug > > support yet, so the process for kicking off configuration of the new > > device doesn't happen. > > > > Warner > > sorry for my poor grammar ,i think i confused the public:) i will make > myself clear with the words below about the PCI Multi-level Rebalance > > PCI Multi-level Rebalance in Windows Longhorn > Updated: November 25, 2003 No, FreeBSD doesn't currently do what this decribes yet. It would be possi= ble=20 to do it by adding a new device_pause() method that drivers would be requir= ed=20 to implement while the resources were shuffled around though and possibly a= =20 device_unpause() method so that they could update their state if their=20 resources were changed while the device was paused. =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org