Re: newbus questions

2003-07-14 Thread User Takawata
In message [EMAIL PROTECTED], Nate Lawson wrote: I'm working on ECDT support for ACPI and ran into a couple newbus-related questions. 1. I'm using the identify entry as a way to get called early on in the boot process. However, this does not happen before $PIR evaluation. How should I hook in a

Re: newbus questions

2003-07-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : I'm working on ECDT support for ACPI and ran into a couple newbus-related : questions. : : 1. I'm using the identify entry as a way to get called early on in the : boot process. However, this does not happen before

Re: newbus questions

2003-07-14 Thread Nate Lawson
On Mon, 14 Jul 2003, M. Warner Losh wrote: Let's take a step back. What are you trying to do? I need to install a temporary EC handler before the namespace is evaluated. This is because various other ACPI routines will call the EC before acpi_ec_attach is called (just after sio1 attach on my

Re: newbus questions

2003-07-14 Thread Bruce Evans
On Mon, 14 Jul 2003, Nate Lawson wrote: 3. It appears bus_alloc_resource() takes a range of values. If I know the exact value to use, I request it via value, value instead of 0, ~0. Is this correct? It's correct if you really know the values, unlike 0, ~0. The maximum value for a resource