Messages in this thread |  | | | Date | Thu, 26 Jan 2012 18:30:41 +0100 | | From | Guillaume Knispel <> | | Subject | Re: How to "register" a GSI for a non PCI non ISA device |
| |
On Thu, 26 Jan 2012 10:24:31 -0700 Bjorn Helgaas <bhelgaas@google.com> wrote:
> A driver should never need to use acpi_register_gsi() directly. It > sounds like you have a non-PCI device that would be described as an > ACPI device in the DSDT. In the Device definition, you include a _CRS > method that tells the kernel what GSI it is using. The PNPACPI > subsystem will parse _CRS and should do the acpi_register_gsi() for > you. Then your driver would use pnp_register_driver() and pnp_irq() > to learn the IRQ. drivers/tty/serial/8250_pnp.c is an example.
Thanks a lot, I'll look into it.
-- Guillaume Knispel Avencall - 10 bis, rue Lucien Voilin - 92800 Puteaux
|  |