History log of /netbsd-src/sys/arch/sparc/dev/rtc.c (Results 1 – 21 of 21)
Revision Date Author Comments
# 1dc652ef 20-Dec-2023 thorpej <thorpej@NetBSD.org>

Remove unnecessary <sys/malloc.h>.


# 22214d3a 02-Jan-2020 thorpej <thorpej@NetBSD.org>

- Use todr_gettime_ymdhms / todr_settime_ymdhms.
- Allocate the todr_handle with the softc, not separately.


# d47bcd29 10-Nov-2019 chs <chs@NetBSD.org>

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.


# 142a0210 18-Jul-2011 mrg <mrg@NetBSD.org>

convert the remaining sparc drivers to CFATTACH_DECL_NEW/cfdata_t/device_t.
(cgsix_obio.c was only partially converted with the rest of the cgsix code
when it was changed some time ago.)


# b6584574 01-Jul-2011 dyoung <dyoung@NetBSD.org>

#include <sys/bus.h> instead of <machine/bus.h>.


# 471e528b 12-Dec-2009 tsutsui <tsutsui@NetBSD.org>

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 s

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()

show more ...


# 102f0440 20-Sep-2009 tsutsui <tsutsui@NetBSD.org>

- use device_t and cfdriver_t
- use device_private() and device_xname()
- use proper types or variables for device_t/softc


# a37acb1b 04-Sep-2006 gdamore <gdamore@NetBSD.org>

Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.


# 1e7f72b3 03-Sep-2006 uwe <uwe@NetBSD.org>

Catch up with __HAVE_GENERIC_TODR changes.
Compile-tested only.


# bcb7ac1e 16-Nov-2005 uwe <uwe@NetBSD.org>

ANSIify. Declare as static everything we don't need to export.


# b8c3b4e0 05-Jun-2005 jdc <jdc@NetBSD.org>

Add volatile to make rtc_{g|s}ettime match todr_chip_handle_t.


# a4183603 15-Jul-2003 lukem <lukem@NetBSD.org>

__KERNEL_RCSID()


# 23c0293e 03-Dec-2002 uwe <uwe@NetBSD.org>

The chip treats weekday 1 == Sunday, correct dt_wday adjustment logic
appropriately. NB: the old code would never write weekday zero that,
I've been told, might cause the RTC to reset.
Pointed out b

The chip treats weekday 1 == Sunday, correct dt_wday adjustment logic
appropriately. NB: the old code would never write weekday zero that,
I've been told, might cause the RTC to reset.
Pointed out by kenh.

show more ...


# 4bf871a7 02-Oct-2002 thorpej <thorpej@NetBSD.org>

Add trailing ; to CFATTACH_DECL.


# c1077f22 01-Oct-2002 thorpej <thorpej@NetBSD.org>

Use CFATTACH_DECL().


# f818766a 27-Sep-2002 thorpej <thorpej@NetBSD.org>

Declare all cfattach structures const.


# d1ad2ac4 27-Sep-2002 thorpej <thorpej@NetBSD.org>

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.


# 118ae09c 04-Apr-2002 uwe <uwe@NetBSD.org>

Fix error message.


# 40a8bc1d 12-Mar-2002 uwe <uwe@NetBSD.org>

Drop ebus_bus_map(), use plain bus_space_map() instead.


# e158bed8 18-Feb-2002 uwe <uwe@NetBSD.org>

Switch to shared EBus headers in dev/ebus.


# 81f0e10c 11-Dec-2001 uwe <uwe@NetBSD.org>

rtc (ds1287a) time of day clock at ebus.