Re: Resources and ACPI
- From: Alan Garfield <alan@xxxxxxxxxxxxx>
- Date: Wed, 11 Apr 2007 21:49:17 +1000
takawata@xxxxxxxxxxxxxx wrote:
and when the device is kldload'ed you get :-
----
jnet0: <JNet Ethernet System Interface> port 0xa8,0xae-0xaf irq 19 on
acpi0
----
are these resources automagically allocated for me? Or do I have to
allocate them myself?
You have to allocate the resource.
Ok cool, but how do I get the resource list from acpi to allocated them then? Other than having an array of ioports and irqs, is there a way to get this information from acpi?
I've done an acpidump and indeed the are _CRS and _PRS ResourceTemplates that describe the io and irq requirements perfectly. How do I access this data? ACPI seems to have very little documentation and nothing else seems to get resource lists (except fdc_acpi.c and uart_bus_acpi.c which don't seem to be complete. ACPI_EVALUATE_OBJECT?!?)
Thanks,
Alan.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Resources and ACPI
- From: Marcel Moolenaar
- Re: Resources and ACPI
- From: Craig Boston
- Re: Resources and ACPI
- References:
- Re: Resources and ACPI
- From: takawata
- Re: Resources and ACPI
- Prev by Date: Re: Resources and ACPI
- Next by Date: Re: Resources and ACPI
- Previous by thread: Re: Resources and ACPI
- Next by thread: Re: Resources and ACPI
- Index(es):
Relevant Pages
|
|