Commit Graph

4 Commits

Author SHA1 Message Date
mark 1f5455aaaf Update the softc to hold the rtc_{write,write}() argument and update
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark 3fa53fb439 Check the for the TODCLOCK_FLAG_FAKE flag in the attach args to allow
a "real" driver to have priority.
Make sure that a todclock service does exist before trying to read and
write the time.
If no RTC read routine exists, just use the suggested time in inittodr().
1998-02-21 03:19:02 +00:00
thorpej 687449a900 Update for changes to config. 1998-01-13 02:09:58 +00:00
mark 60cfd15fdc arm32 kernel source restructure
- Implement new time-of-day device. This device provides the
    inittodr() and resettodr() functions and is designed to be a child
    device of an RTC device. This allows one of multiple RTC's attached
    to be used to provide the basic time of day functions.
1997-10-14 19:19:40 +00:00