Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6880611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:59:46+00:00 2026-05-27T04:59:46+00:00

In some of the drivers while browsing 2.6.35, it is observed tht request_irq is

  • 0

In some of the drivers while browsing 2.6.35, it is observed tht request_irq is passed a value 0 for irq flags. When seen in interrupt.h – 0 corresponds to IRQ_TRIGGER_NONE;

Is this equivalent to the case of IRQ_NONE in previous kernels?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:59:46+00:00Added an answer on May 27, 2026 at 4:59 am

    The actual flags passed into request_irq() are defined in a comment in :

    /*
     * These flags used only by the kernel as part of the
     * irq handling routines.
     *
     * IRQF_DISABLED - keep irqs disabled when calling the action handler.
     *                 DEPRECATED. This flag is a NOOP and scheduled to be removed
     * IRQF_SAMPLE_RANDOM - irq is used to feed the random generator
     * IRQF_SHARED - allow sharing the irq among several devices
     * IRQF_PROBE_SHARED - set by callers when they expect sharing mismatches to occur
     * IRQF_TIMER - Flag to mark this interrupt as timer interrupt
     * IRQF_PERCPU - Interrupt is per cpu
     * IRQF_NOBALANCING - Flag to exclude this interrupt from irq balancing
     * IRQF_IRQPOLL - Interrupt is used for polling (only the interrupt that is
     *                registered first in an shared interrupt is considered for
     *                performance reasons)
     * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished.
     *                Used by threaded interrupts which need to keep the
     *                irq line disabled until the threaded handler has been run.
     * IRQF_NO_SUSPEND - Do not disable this IRQ during suspend
     * IRQF_FORCE_RESUME - Force enable it on resume even if IRQF_NO_SUSPEND is set
     * IRQF_NO_THREAD - Interrupt cannot be threaded
     * IRQF_EARLY_RESUME - Resume IRQ early during syscore instead of at device
     *                resume time.
     */
    

    These are bits, so a logical OR (ie |) of a subset of these can be passed in; and if none apply, then the empty set is perfectly fine — ie a value 0 for the flags parameter.

    Since IRQF_TRIGGER_NONE is 0, passing 0 into request_irq() just says leave the triggering configuration of the IRQ alone — ie however the hardware/firmware configured it.

    IRQ_NONE is in a different namespace; it is one of the possible return values of an interrupt handler (the function passed into request_irq()), and it means that the interrupt handler did not handle an interrupt.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While writing kernel modules/drivers, most of the time some structures are initialized to point
I know in Java, when using PreparedStatement with parameters, some JDBC drivers will optimize
Some background info: I am currently writing a bootloader in protected mode while learning
I'm using Hibernate 3.2.1 and database SQLServer2000 while I'm try to insert some data
My friend's server has some problem with spoolsv service. While he is searching for
Still making my first steps in Ruby (while dealing with some written code). I
Some drivers on Windows, like Null and Beep , can be arbitrarily stopped and
I am trying to print some pages through Virtual PDF Printer drivers (FoxitPDF Writer,
I am working through Linux Device Drivers, Third Edition and while the book is
I don't want to make my code tight coupled to some JDBC driver (for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.