Home | History | Annotate | Download | only in vr
History log of /src/sys/arch/hpcmips/vr/rtc.c
RevisionDateAuthorComments
 1.37  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.36  21-Jul-2022  andvar fix typos in comments and log messages, mainly s/intrrupt/interrupt/.
 1.35  11-Jul-2015  kamil Improve spelling: regsiter -> register

This change is non-functional.

Approved by <riastradh>, <pgoyette>
 1.34  20-Nov-2014  christos branches: 1.34.2;
this is supposed to be SECS_PER_DAY.
 1.33  17-Nov-2014  christos PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macros
(derived from clock_subr.h). Keep clock_subr.h with the kernel structures
and functions to reduce diffs, and have clock.h only include standalone
constants and macros.
 1.32  18-Mar-2011  tsutsui branches: 1.32.14;
Use vaddr_t for pc instead of uint32_t.
 1.31  16-Mar-2011  tsutsui Split device_t/softc. Tested on GXemul.
 1.30  16-Mar-2011  tsutsui Fix device_t/softc confusion.
(currently harmless since they are not split yet)
 1.29  16-Mar-2011  tsutsui KNF and cosmetics.
 1.28  16-Mar-2011  tsutsui Fix signedness issue triggered by 64 bit time_t.
 1.27  10-Mar-2011  tsutsui Set correct struct clockframe .intr value for hardclock(9).
 1.26  12-Dec-2009  tsutsui branches: 1.26.4; 1.26.6;
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.25  04-Jan-2008  ad branches: 1.25.10;
Need sys/device.h
 1.24  16-Sep-2006  gdamore branches: 1.24.30; 1.24.36; 1.24.44;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.23  24-Dec-2005  perry branches: 1.23.20;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.22  11-Dec-2005  christos merge ktrace-lwp.
 1.21  07-Jun-2005  he branches: 1.21.2;
Rename local variable 'min' to 'mins' to avoid shadowing warning.
 1.20  15-Jul-2003  lukem __KERNEL_RCSID()
 1.19  06-Jan-2003  wiz branches: 1.19.2;
interrupt with two rs.
 1.18  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.17  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.16  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.15  15-May-2002  uch obsolete intrcnt[].
 1.14  10-Feb-2002  takemura Made rtc.c compilable without SINGLE_VRIP_BASE macro.
 1.13  09-Feb-2002  sato RTC_NO_REG_W unsigned
 1.12  27-Jan-2002  takemura Added vripif.
 1.11  24-Dec-2001  shin fix debug printf() format string.
 1.10  30-Sep-2001  sato branches: 1.10.4;
add VR4181, VR4131 support.
 1.9  19-Sep-2001  uch make this compile again.
 1.8  18-Sep-2001  uch remove dev/dec/clockvar.h from hpcmips source tree.
 1.7  16-Sep-2001  uch ANSIfy, KNF.
 1.6  17-Jul-2001  toshii branches: 1.6.2;
"infomation" -> "information"
 1.5  17-May-2001  enami branches: 1.5.2;
Include opt_vr41xx.h and vrcpudef.h
 1.4  17-Mar-2000  sato branches: 1.4.6;
change about debug print.
 1.3  17-Jan-2000  sato delete unused codes.
 1.2  07-Dec-1999  sato cleanup a little..
 1.1  16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1  16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.1  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.4.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.5.2.6  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.5.2.5  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.2.4  16-Mar-2002  jdolecek Catch up with -current.
 1.5.2.3  11-Feb-2002  jdolecek Sync w/ -current.
 1.5.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.1  03-Aug-2001  lukem update to -current
 1.6.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.10.4.6  07-Jan-2003  thorpej Sync with HEAD.
 1.10.4.5  18-Oct-2002  nathanw Catch up to -current.
 1.10.4.4  20-Jun-2002  nathanw Catch up to -current.
 1.10.4.3  28-Feb-2002  nathanw Catch up to -current.
 1.10.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.10.4.1  30-Sep-2001  nathanw file rtc.c was added on branch nathanw_sa on 2002-01-08 00:25:05 +0000
 1.19.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.19.2.1  03-Aug-2004  skrll Sync with HEAD
 1.21.2.3  21-Jan-2008  yamt sync with head
 1.21.2.2  30-Dec-2006  yamt sync with head.
 1.21.2.1  21-Jun-2006  yamt sync with head.
 1.23.20.1  18-Nov-2006  ad Sync with head.
 1.24.44.1  08-Jan-2008  bouyer Sync with HEAD
 1.24.36.1  18-Feb-2008  mjf Sync with HEAD.
 1.24.30.1  09-Jan-2008  matt sync with HEAD
 1.25.10.1  11-Mar-2010  yamt sync with head
 1.26.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.26.4.1  21-Apr-2011  rmind sync with head
 1.32.14.1  03-Dec-2017  jdolecek update from HEAD
 1.34.2.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed