Re: Reading acpi memory from a driver attached to hostb

2009-07-24 Thread Andre Albsmeier
On Thu, 23-Jul-2009 at 16:06:11 -0400, John Baldwin wrote: > On Thursday 23 July 2009 1:53:51 pm Andre Albsmeier wrote: > > John, apparently you sent me an email (thanks a lot) which I never > > received (we have to blame our company's spam filters which I do > > not control). I'll comment on it he

Re: Reading acpi memory from a driver attached to hostb

2009-07-23 Thread John Baldwin
On Thursday 23 July 2009 1:53:51 pm Andre Albsmeier wrote: > John, apparently you sent me an email (thanks a lot) which I never > received (we have to blame our company's spam filters which I do > not control). I'll comment on it here in my reply to Doug... Yes, I saw the bounces. Hopefully you s

Re: Reading acpi memory from a driver attached to hostb

2009-07-23 Thread Andre Albsmeier
John, apparently you sent me an email (thanks a lot) which I never received (we have to blame our company's spam filters which I do not control). I'll comment on it here in my reply to Doug... On Thu, 23-Jul-2009 at 07:25:40 -0700, Doug Ambrisko wrote: > John Baldwin writes: > | On Thursday 23 Jul

Re: Reading acpi memory from a driver attached to hostb

2009-07-23 Thread John Baldwin
On Thursday 23 July 2009 10:25:40 am Doug Ambrisko wrote: > John Baldwin writes: > | On Thursday 23 July 2009 2:08:35 am Andre Albsmeier wrote: > | > On Wed, 22-Jul-2009 at 09:48:56 -0700, Doug Ambrisko wrote: > | > > Andre Albsmeier writes: > | > > | On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paul

Re: Reading acpi memory from a driver attached to hostb

2009-07-23 Thread Doug Ambrisko
John Baldwin writes: | On Thursday 23 July 2009 2:08:35 am Andre Albsmeier wrote: | > On Wed, 22-Jul-2009 at 09:48:56 -0700, Doug Ambrisko wrote: | > > Andre Albsmeier writes: | > > | On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: | > > | > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote:

Re: Reading acpi memory from a driver attached to hostb

2009-07-23 Thread John Baldwin
On Thursday 23 July 2009 2:08:35 am Andre Albsmeier wrote: > On Wed, 22-Jul-2009 at 09:48:56 -0700, Doug Ambrisko wrote: > > Andre Albsmeier writes: > > | On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: > > | > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: > > | > > > | > > On Fri, 17-J

Re: Reading acpi memory from a driver attached to hostb

2009-07-22 Thread Andre Albsmeier
On Wed, 22-Jul-2009 at 09:48:56 -0700, Doug Ambrisko wrote: > Andre Albsmeier writes: > | On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: > | > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: > | > > | > > On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: > | > >> Andre Albsme

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread John Baldwin
On Saturday 18 July 2009 9:39:38 am Andre Albsmeier wrote: > On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: > > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: > > > > > On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: > > >> Andre Albsmeier wrote: > > >>> [CC'ing this to Ru

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread Andre Albsmeier
On Mon, 20-Jul-2009 at 14:05:34 +0300, Andriy Gapon wrote: > on 18/07/2009 17:06 Julian Elischer said the following: > > Andre Albsmeier wrote: > >> But in order to attach to acpi0, I need to say > >> > >> DRIVER_MODULE( eccmon, acpi, eccmon_driver, eccmon_devclass, NULL, > >> NULL ); > >> > >> in

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread Andriy Gapon
on 18/07/2009 17:06 Julian Elischer said the following: > Andre Albsmeier wrote: >> 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

Re: Reading acpi memory from a driver attached to hostb

2009-07-18 Thread Julian Elischer
Andre Albsmeier wrote: On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: Andre Albsmeier wrote: [CC'ing this to Rui Paulo since he tried to help me a while ago] Since my driver is a child of hostb0, I have no idea of how to access acpi0's memory area. Here is a devinfo -r to make t

Re: Reading acpi memory from a driver attached to hostb

2009-07-18 Thread Andre Albsmeier
On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: > > > On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: > >> Andre Albsmeier wrote: > >>> [CC'ing this to Rui Paulo since he tried to help me a while ago] > >>> > >>> Since my dri

Re: Reading acpi memory from a driver attached to hostb

2009-07-18 Thread Rui Paulo
On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: Andre Albsmeier wrote: [CC'ing this to Rui Paulo since he tried to help me a while ago] Since my driver is a child of hostb0, I have no idea of how to access acpi0's memory area.

Re: Reading acpi memory from a driver attached to hostb

2009-07-18 Thread Andre Albsmeier
On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: > Andre Albsmeier wrote: > > [CC'ing this to Rui Paulo since he tried to help me a while ago] > > > > Since my driver is a child of hostb0, I have no idea of how to access > > acpi0's memory area. Here is a devinfo -r to make things cle

Re: Reading acpi memory from a driver attached to hostb

2009-07-17 Thread Julian Elischer
Andre Albsmeier wrote: [CC'ing this to Rui Paulo since he tried to help me a while ago] I have written a driver that is a child of hostb (similar to agp) for RELENG_7. However, on some chipsets (e.g. i975) it has to read some memory locations (not pci configuration space) which were registered b