[lkml]   [2012]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: How to "register" a GSI for a non PCI non ISA device
    On Thu, 26 Jan 2012 10:24:31 -0700
    Bjorn Helgaas <> 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

     \ /
      Last update: 2012-01-26 18:33    [W:0.021 / U:59.156 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site