Re: Periodic RTC interrupt

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Feb 19 2000 - 20:38:17 EST

  • Next message: brian-kernel@stech.cx: "Re: Re:Compile error on 2.3.47-4 to -6"

    Ralf Baechle wrote:
    >
    > What application need the /dev/rtc periodic interrupt? I'm porting to
    > a platoform which uses a M58T35 RTC which doesn't supply such an
    > interrupt, so the question is if it's worth to care at all and possibly
    > emulate an timer interrupt from another source.

    The RTC driver doesn't make much sense without interrupts... look at
    the API in include/linux/rtc.h. Without interrupts, you are just
    querying the RTC status, which (I am guessing) is different on the
    M58T35.

    So, with no interrupts and a different status byte output, it sounds
    like a completely new chrdev driver to me... :)

    BTW, Andrea, since I think (???) this was your patch, why do you disable
    RTC interrupt on Alpha platform? You might as well disable the entire
    driver at that point IMHO...

    -- 
    Jeff Garzik         | I never vote for anyone.
    Building 1024       | I always vote against.
    MandrakeSoft, Inc.  |       -- W.C. Fields
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Feb 19 2000 - 21:36:05 EST