OpenGrok
Cross Reference: r2025.c
xref
: /
src
/
sys
/
dev
/
i2c
/
r2025.c
Home
|
History
|
Annotate
|
Download
|
only in
i2c
History log of
/src/sys/dev/i2c/r2025.c
Revision
Date
Author
Comments
1.12
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.11
07-Sep-2025
thorpej
Remove unnecessary NULL-initialization of TODR handle fields.
1.10
02-Jan-2020
thorpej
Use todr_gettime_ymdhms / todr_settime_ymdhms.
1.9
02-Jan-2020
thorpej
- No need to use I2C_F_POLL here.
- Correctly propagate errors up the stack.
1.8
16-Jun-2018
thorpej
branches: 1.8.2;
More cleanup to i2c autoconfiguration:
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
1.7
20-Nov-2014
christos
branches: 1.7.18;
use the inline bcdtobin and bintobcd directly instead through a macro.
1.6
12-Dec-2009
tsutsui
branches: 1.6.22;
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.5
04-May-2008
xtraeme
device_t/softc split and other related cosmetic changes.
1.4
06-Apr-2008
cegger
branches: 1.4.2; 1.4.4;
use aprint_*_dev and device_xname
1.3
04-Sep-2006
gdamore
branches: 1.3.4; 1.3.54;
Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.
1.2
29-Mar-2006
thorpej
branches: 1.2.2; 1.2.8;
Use device_private().
1.1
06-Mar-2006
shige
branches: 1.1.2; 1.1.4; 1.1.6;
Add a driver for RICOH R2025S/D I2C RTC.
1.1.6.1
31-Mar-2006
tron
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
1.1.4.4
14-Sep-2006
yamt
sync with head.
1.1.4.3
01-Apr-2006
yamt
sync with head.
1.1.4.2
13-Mar-2006
yamt
sync with head.
1.1.4.1
06-Mar-2006
yamt
file r2025.c was added on branch yamt-pdpolicy on 2006-03-13 09:07:20 +0000
1.1.2.1
19-Apr-2006
elad
sync with head.
1.2.8.3
30-Dec-2006
yamt
sync with head.
1.2.8.2
21-Jun-2006
yamt
sync with head.
1.2.8.1
29-Mar-2006
yamt
file r2025.c was added on branch yamt-lazymbuf on 2006-06-21 15:02:51 +0000
1.2.2.2
22-Apr-2006
simonb
Sync with head.
1.2.2.1
29-Mar-2006
simonb
file r2025.c was added on branch simonb-timecounters on 2006-04-22 11:38:52 +0000
1.3.54.1
02-Jun-2008
mjf
Sync with HEAD.
1.3.4.2
09-Sep-2006
rpaulo
sync with head
1.3.4.1
04-Sep-2006
rpaulo
file r2025.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:51 +0000
1.4.4.2
11-Mar-2010
yamt
sync with head
1.4.4.1
16-May-2008
yamt
sync with head.
1.4.2.1
18-May-2008
yamt
sync with head.
1.6.22.1
03-Dec-2017
jdolecek
update from HEAD
1.7.18.1
25-Jun-2018
pgoyette
Sync with HEAD
1.8.2.1
08-Apr-2020
martin
Merge changes from current as of 20200406
Indexes created Wed Oct 15 07:09:58 GMT 2025