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 12:03:49PM -0400, Thor Lancelot Simon wrote:
 > > > Aside from pseudodevices, do we have any devices which aren't children
 > > > of mainbus?  Some ports' use of obio seems like, perhaps, a
 > > > candidate for
 > > > this, but I have not started checking them all.
 > > 
 > > directly or through parents?
 > 
 > Through parents.  I'm looking at trying to inherit maxphys down the device
 > tree.
 > 
 > > Not all ports use mainbus.  shark uses ofbus at root (only cpu
 > > attaches to mainbus).
 > 
 > Oof.  That's the answer, then, I guess.

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?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index