Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sgimips/dev/dsclock.c
RevisionDateAuthorComments
 1.9  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.8  07-Sep-2025  thorpej Remove unnecessary NULL-initialization of TODR handle fields.
 1.7  18-Feb-2015  macallan switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x
 1.6  20-Nov-2014  christos branches: 1.6.2;
use the inline bcdtobin and bintobcd directly instead through a macro.
 1.5  01-Jul-2011  dyoung branches: 1.5.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.4  12-Jan-2010  tsutsui Split device_t/softc, some KNF.
 1.3  12-Jan-2010  tsutsui Switch to using todr_[gs]ettime_ymdhms() format
which doesn't require struct timeval details.
 1.2  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.1  12-Feb-2009  rumble branches: 1.1.2; 1.1.4; 1.1.6;
Enable Personal IRIS 4D/20 and 4D/25 support:
- Adapt int(4) to handle the INT1 chip
- Move generic rtc clocks out of hpc/ and into dev/
- Handle the very strangely wired eeprom and other bits in arcemu
- Sprinkle MACH_SGI_IP6 as necessary
- Enable IP6/IP10 devices in GENERIC32_IP12. Yes, the naming is poor but
there's no winning with kernel/hw compatibility on sgimips...

Tested on my 4D/25. Doesn't (appear to) break macallan@'s IP22.
 1.1.6.2  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1  12-Feb-2009  jym file dsclock.c was added on branch jym-xensuspend on 2009-05-13 17:18:18 +0000
 1.1.4.3  11-Mar-2010  yamt sync with head
 1.1.4.2  04-May-2009  yamt sync with head.
 1.1.4.1  12-Feb-2009  yamt file dsclock.c was added on branch yamt-nfs-mp on 2009-05-04 08:11:49 +0000
 1.1.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.1.2.1  12-Feb-2009  skrll file dsclock.c was added on branch nick-hppapmap on 2009-03-03 18:29:13 +0000
 1.5.12.1  03-Dec-2017  jdolecek update from HEAD
 1.6.2.1  06-Apr-2015  skrll Sync with HEAD

RSS XML Feed