Find the answer to your Linux question:
Results 1 to 3 of 3
My hardware team says the board/device is mapped to IRQ Line 4. I have a doubt of following... In request_irq() call, can I hard code the IRQ line straight away ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    15

    Interrupt Request Line


    My hardware team says the board/device is mapped to IRQ Line 4.
    I have a doubt of following...

    In request_irq() call, can I hard code the IRQ line straight away ???

    Or it is strictly recommended to read IRQ line from PCI configuration space for that device to register the ISR.

  2. #2
    Just Joined! rjayavrp's Avatar
    Join Date
    Apr 2009
    Location
    Incredible India
    Posts
    42
    Better use pci configuration space.

    some day ur HW team may change the IRQ line.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,159
    Quote Originally Posted by rjayavrp View Post
    Better use pci configuration space.

    some day ur HW team may change the IRQ line.
    Not to mention that a lot of devices have configurable IRQs, perhaps jumper settable.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •