Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mips/alchemy/dev/aurtc.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  07-Sep-2025  thorpej Remove unnecessary NULL-initialization of TODR handle fields.
 1.14  03-Jan-2012  kiyohara Use device_t instead of 'struct device *'.
Call aprint_* in auto-config time.
 1.13  01-Jul-2011  dyoung branches: 1.13.2; 1.13.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.12  12-Dec-2009  tsutsui Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()
 1.11  04-Sep-2006  gdamore branches: 1.11.60;
Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.
 1.10  28-Mar-2006  gdamore Use todr_attach.
 1.9  28-Mar-2006  gdamore Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.8  09-Mar-2006  gdamore branches: 1.8.2;
Fix the RTC so that the AU1550 keeps accurate time. The RTC is taken from
the TOY register, which is presumed to be seconds since Jan. 1 2000.

For now I'm assuming the trim divider is 32K, which makes 1 tick per sec.
This is true for the DBAU1550 board at least. Other boards might need to
initialize a reasonable trim counter and establish the 32KHz oscillator.

In any case, this code is *no worse* on older systems than what was there
before.
 1.7  11-Dec-2005  christos branches: 1.7.4; 1.7.6; 1.7.8; 1.7.10;
merge ktrace-lwp.
 1.6  15-Jul-2003  lukem branches: 1.6.16;
__KERNEL_RCSID()
 1.5  02-Oct-2002  thorpej branches: 1.5.6;
Add trailing ; to CFATTACH_DECL.
 1.4  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.3  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2  27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.1  29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the the Alchemy Semiconductor Au1x00 series on-chip
devices. Currently the serial ports and ethernet MAC have working
drivers, and this has only been physically tested on the Au1000 CPU,
but these devices should work on the Au1100 and Au1500 CPUs too.
 1.1.6.3  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  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1  29-Jul-2002  jdolecek file aurtc.c was added on branch kqueue on 2002-09-06 08:37:23 +0000
 1.1.4.2  31-Aug-2002  gehenna catch up with -current.
 1.1.4.1  29-Jul-2002  gehenna file aurtc.c was added on branch gehenna-devsw on 2002-08-31 13:45:15 +0000
 1.1.2.2  18-Oct-2002  nathanw Catch up to -current.
 1.1.2.1  29-Jul-2002  nathanw file aurtc.c was added on branch nathanw_sa on 2002-10-18 02:38:43 +0000
 1.5.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1  03-Aug-2004  skrll Sync with HEAD
 1.6.16.2  30-Dec-2006  yamt sync with head.
 1.6.16.1  21-Jun-2006  yamt sync with head.
 1.7.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.7.8.3  14-Sep-2006  yamt sync with head.
 1.7.8.2  01-Apr-2006  yamt sync with head.
 1.7.8.1  13-Mar-2006  yamt sync with head.
 1.7.6.1  22-Apr-2006  simonb Sync with head.
 1.7.4.1  09-Sep-2006  rpaulo sync with head
 1.8.2.2  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.8.2.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.11.60.1  11-Mar-2010  yamt sync with head
 1.13.6.1  18-Feb-2012  mrg merge to -current.
 1.13.2.1  17-Apr-2012  yamt sync with head

RSS XML Feed