Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/luna68k/dev/timekeeper.c
RevisionDateAuthorComments
 1.16  07-Sep-2025  thorpej Change todr_chip_handle::cookie -> todr_chip_handle::todr_dev, and
make it a device_t. Upcoming functional changes will require the
device_t associated with a TODR device.

Change todr_chip_handle::bus_cookie -> todr_chip_handle::todr_devaux.
Nothing was using the old field, but I decided to keep it around just
in cause something needs it in the future.

And with these largely mechanical yet semantically meaningful changes,
thus spake the Oracle: "Welcome to NetBSD 11.99.2."
 1.15  20-Nov-2014  christos use the inline bcdtobin and bintobcd directly instead through a macro.
 1.14  18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.13  19-Jul-2013  tsutsui Add an initialization function of DS1287A RTC and call it during attach.

It looks the boot firmware doesn't initialize the control registers
of DS1287A (while it resets NVRAM settings) and RTC oscillator is not
started properly after replacement.

Now my LUNA-II can keep RTC properly even after reboot.
 1.12  26-Jan-2013  tsutsui branches: 1.12.2; 1.12.8;
Fix offset of DS1287A NVRAM address on LUNA-II.
 1.11  22-Jan-2013  tsutsui Whitespace cleanup.
 1.10  27-Jul-2011  tsutsui branches: 1.10.2; 1.10.8; 1.10.12;
KNF, use uintNN_t, tab/space cosmetics etc.
 1.9  27-Jul-2011  tsutsui - split device_t/softc and use device_t and cfdata_t etc.
- use aprint_normal(9)
- include "ioconf.h" for struct cfdriver decls
No crash on LUNA.
 1.8  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.7  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.6  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.5  28-Apr-2008  martin branches: 1.5.8; 1.5.14;
Remove clause 3 and 4 from TNF licenses
 1.4  14-Sep-2006  gdamore branches: 1.4.54; 1.4.56; 1.4.58;
Update luna68k to MI todr and timecounters.
 1.3  12-Mar-2006  he branches: 1.3.10;
Now that FROMBCD and TOBCD is in <sys/dev/clock_subr.h>, delete the
local definitions here.
 1.2  02-Oct-2002  thorpej branches: 1.2.22; 1.2.36; 1.2.38; 1.2.40; 1.2.42;
Use CFATTACH_DECL().
 1.1  05-Jan-2000  nisimura branches: 1.1.6; 1.1.10; 1.1.14;
Introduce NetBSD/luna68k port into CVS repository.
 1.1.14.1  18-Oct-2002  nathanw Catch up to -current.
 1.1.10.1  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.6.1  05-Jan-2000  bouyer file timekeeper.c was added on branch thorpej_scsipi on 2000-11-20 20:10:27 +0000
 1.2.42.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.2.40.1  13-Mar-2006  yamt sync with head.
 1.2.38.1  22-Apr-2006  simonb Sync with head.
 1.2.36.1  09-Sep-2006  rpaulo sync with head
 1.2.22.2  30-Dec-2006  yamt sync with head.
 1.2.22.1  21-Jun-2006  yamt sync with head.
 1.3.10.1  18-Nov-2006  ad Sync with head.
 1.4.58.2  04-May-2009  yamt sync with head.
 1.4.58.1  16-May-2008  yamt sync with head.
 1.4.56.1  18-May-2008  yamt sync with head.
 1.4.54.1  02-Jun-2008  mjf Sync with HEAD.
 1.5.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.10.12.3  03-Dec-2017  jdolecek update from HEAD
 1.10.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.12.1  25-Feb-2013  tls resync with head
 1.10.8.1  12-Jan-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1003):
sys/arch/luna68k/dev/timekeeper.h: revision 1.3
sys/arch/luna68k/dev/timekeeper.c: revision 1.11
sys/arch/luna68k/dev/timekeeper.c: revision 1.12
sys/arch/luna68k/dev/timekeeper.c: revision 1.13
Whitespace cleanup.
Fix offset of DS1287A NVRAM address on LUNA-II.
Add an initialization function of DS1287A RTC and call it during attach.
It looks the boot firmware doesn't initialize the control registers
of DS1287A (while it resets NVRAM settings) and RTC oscillator is not
started properly after replacement.
Now my LUNA-II can keep RTC properly even after reboot.
 1.10.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12.8.1  23-Jul-2013  riastradh sync with HEAD
 1.12.2.1  28-Aug-2013  rmind sync with head

RSS XML Feed