Commit Graph

10 Commits

Author SHA1 Message Date
christos b59f66e17c use the inline bcdtobin and bintobcd directly instead through a macro. 2014-11-20 16:34:25 +00:00
nonaka 8dfa6d1a29 Added support RICOH 5C316. 2010-04-06 15:29:19 +00:00
martin 637bc2e71d Move TNF licenses to 2 clause form 2008-05-04 19:43:05 +00:00
uwe 3d9ebca642 Split device_t and softc. 2008-03-27 02:15:29 +00:00
uwe 829ba69fd1 Don't bury &sc->sc_dev idiom inside arglist of aprint_error_dev(), use
explicit device_t self variable instead to make future conversion easier.
2008-01-09 22:29:20 +00:00
uwe 9ea46456ee Autoconf allocates softc with M_ZERO, so there's no need to explicitly
init missing todr methods to NULL.
2008-01-09 22:20:40 +00:00
uwe 1825805f68 Use todr_{get,set}time_ymdhms methods and let MI code in kern_todr.c
do conversion and checks.
2008-01-09 22:09:22 +00:00
uwe b2fb3432e4 rtc_offset is handled by kern_todr.c, so nuke it here.
Pointed out by joerg@
2008-01-09 18:29:37 +00:00
uwe 58197290f3 Use aprint_* 2007-11-06 01:46:02 +00:00
uwe c7a7101b20 MI part of the Ricoh RS5C313 real time clock todr(9) driver.
Based on the code from landisk port.  With help from gdamore@
2006-09-07 01:12:00 +00:00