tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Devices not at mainbus?



On Tue, Jun 05, 2012 at 02:14:02PM -0400, Thor Lancelot Simon wrote:
> On Tue, Jun 05, 2012 at 06:06:08PM +0000, David Holland wrote:
> > 
> > Does it matter? Is there a case where a driver's notion of MAXPHYS
> > should depend on anything other than the buses it's attached to?
> 
> I see you say "buses".  So I assume you're taking into account funny
> constraints to do with bus bridges.
> 
> Some ports do have limits stricter than those actually associated with
> any physical bus in the machine.  Xen is a good example.

Actually, anything that has a MAXPHYS restriction in Xen attaches
to hypervisor. So hypervisorbus could set the property ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index