misc questions about the device&driver arch

John Baldwin jhb at FreeBSD.org
Sun Nov 6 07:40:21 PST 2005


On Sunday 06 November 2005 06:14 am, kylin wrote:
> On 11/6/05, M. Warner Losh <imp at bsdimp.com> wrote:
> > In message: <87ab37ab0511032030o134b9316j83295dd303e4e44b at mail.gmail.com>
> >
> >            kylin <fierykylin at gmail.com> writes:
> > : ///////////////
> > : pci bridge dynamic resize
> > : /////////////
> > : it seems that the device arch of freebsd is similar to what is revealed
> > : 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 pci
> > : 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 possible 
to do it by adding a new device_pause() method that drivers would be required 
to implement while the resources were shuffled around though and possibly a 
device_unpause() method so that they could update their state if their 
resources were changed while the device was paused.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list