On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote:
Hmm, that's what I meant by: Attach two drivers -- one as child of acpi
and another as child of hostb...
And that's similar to Rui Paulo's suggestion a while ago:
But in order to attach to acpi0, I need to say
DRIVER_MODULE( eccmon, acpi, eccmon_driver, eccmon_devclass, NULL, NULL );
instead of
DRIVER_MODULE( eccmon, hostb, eccmon_driver, eccmon_devclass, NULL, NULL );
This way I could attach to acpi but not to hostb anymore....
I have searched the net for solutions, I have read newbus-draft.txt
and newbus-intro.txt and Warner Losh's newbus-led.c (thanks to all
of these my driver is working on other mainboards where it doesn't
have to access foreign memory) but didn't find anything.
Thanks,
-Andre
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"