Re: Reading acpi memory from a driver attached to hostb

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andre Albsmeier
Date: Saturday, July 18, 2009 - 1:10 am

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"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Reading acpi memory from a driver attached to hostb, Andre Albsmeier, (Fri Jul 17, 12:04 pm)
Re: Reading acpi memory from a driver attached to hostb, Julian Elischer, (Fri Jul 17, 12:53 pm)
Re: Reading acpi memory from a driver attached to hostb, Andre Albsmeier, (Sat Jul 18, 1:10 am)
Re: Reading acpi memory from a driver attached to hostb, Andre Albsmeier, (Sat Jul 18, 6:39 am)
Re: Reading acpi memory from a driver attached to hostb, Julian Elischer, (Sat Jul 18, 7:06 am)
Re: Reading acpi memory from a driver attached to hostb, Andriy Gapon, (Mon Jul 20, 4:05 am)
Re: Reading acpi memory from a driver attached to hostb, John Baldwin, (Mon Jul 20, 7:46 am)
Re: Reading acpi memory from a driver attached to hostb, Andre Albsmeier, (Mon Jul 20, 11:26 am)