lkml.org 
[lkml]   [2006]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] RTC: Add mmap method to rtc character driver
    Neil Horman wrote:
    >>>>
    >>> It there any arch for which the rtc driver doesn't function?
    >> Yes, there are plenty of systems which don't have an RTC, or have an RTC
    >> which can't generate interrupts.
    >>
    > Ok, for those implementations which don't have an RTC that the rtc driver can
    > drive, the mmap functionality will not work, but at that point what interface
    > are you left with at all for obtaining periodic time?

    Depends completely on the hardware. Some hardware will rely on cycle
    counters, some may rely on I/O devices which may or may not be mappable
    into user space, and some will have to enter the kernel.

    These aren't compatible with your programming model.

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

    \
     
     \ /
      Last update: 2006-07-26 02:41    [W:3.946 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site