Re: newbus' ivar's limitation..
On Jul 12, 2012, at 6:01 AM, John Baldwin wrote:
> New-bus is certainly not the only way to organize a device hierarchy =
and is=20
> not perfect, but in your case I suggest you tone down your language =
until you=20
> have enough information to develop an informed opinion.
It is also not the only way to represent relationships between objects, =
or to export services to the rest of the kernel. =46rom earlier =
descriptions, it seems like some of these relationships aren't very =
newbus-y. =46rom what I know about FDT, many of them are 'this device's =
interrupt pin is tied to GPIO 12 on controller 3' which isn't a =
parent/child relationship, but rather some kind of interrupt cookie =
you'll need to implement bus_setup_intr.
Warner
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 16 之 26 篇):