Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/amiga/dev/a34kbbc.c
RevisionDateAuthorComments
 1.25  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.24  07-Sep-2025  thorpej Don't keep state in globals; define and use an a34kbbc_softc.
 1.23  27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.22  03-Jun-2011  matt branches: 1.22.2; 1.22.12;
CFATTACH_DECL_NEW, device_t, cfdata_t
 1.21  08-Feb-2011  rmind branches: 1.21.2;
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.20  10-Oct-2006  mhitch branches: 1.20.78; 1.20.84; 1.20.86;
Conversion to clock_ymdhms wasn't complete: the match routine was calling
ugettod() with a NULL pointer to test if the clock was present. That
argument was changed to a struct clock_ymdhms pointer and is no longer
optional. Change to pass the address of a local structure when probing
for the clock.
 1.19  11-Sep-2006  gdamore branches: 1.19.2;
Convert a2kbbc and a3kbbc to newer clock_ymdhms convenience routines in
kern_todr.
 1.18  07-Sep-2006  mhitch Correct some error returns for gettod() and settod() left over from the
pre-todr code, and use actual E* return codes for any error return.
 1.17  05-Sep-2006  mhitch branches: 1.17.2;
Switch amiga to MI todr.
 1.16  30-Dec-2005  is branches: 1.16.4; 1.16.8;
fixing typo in comment
 1.15  11-Dec-2005  christos merge ktrace-lwp.
 1.14  13-Jun-2005  jmc branches: 1.14.2;
Fix a ton of const/volatile issues shown with new warning flags
 1.13  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.12  02-Oct-2002  thorpej branches: 1.12.6;
Use CFATTACH_DECL().
 1.11  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10  28-Jan-2002  aymeric add __KERNEL_RCSID as suggested by Luke Mewburn
 1.9  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.8  15-Mar-2000  kleink branches: 1.8.8; 1.8.12;
Kill a couple of unnecessary cf_unit (ab)uses.
 1.7  06-Jan-2000  is Fix comment. No code change.
 1.6  03-Jan-2000  is The Ricoh chip has a seperate leapyear counter.
We must write this when we write the year register, keeping them in sync.
XXX the chosen algorithm only works for 1901 <= year <= 2099.
 1.5  03-Jan-2000  is Write part of the y2k fix.
This is not strictly necessary, as
- at least for the Ricoh chip in the A3000 and A4000, as those chips' Y10
registers happily continue to count up from 0xA if manually incremented
past 0x9.
- the Amiga ROMs and "setclock" commands seem to interpret 0xA 0x? like
200?, etc.

However,
- the Amiga setclock writes the modulo 10 value into the chips
- the chip docs of both chips, including the Y2K information of their
manufacturers, only refer to the range 0-9
- the chips increment from 9 to 0

So we better conform to this, to avoid unpleasant surprises.
 1.4  02-Jan-2000  is *sigh*
Y2000-patch for A2000, A3000 and A4000 battery backed clock modules,
mostly by Adam Ciarcinski.
 1.3  14-Mar-1999  is branches: 1.3.2; 1.3.8;
Use the 1/256s-resolution when reading the DraCo battery backed clock
 1.2  12-Jan-1998  thorpej Adjust for changes to config.
 1.1  19-Jul-1997  is Make Amiga battery clocks autoconfiguration devices, so that they can be
left out of specialized configurations.
 1.3.8.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.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)
 1.3.2.2  08-Jan-2000  he Pull up revision 1.6 (requested by is):
Write the Ricoh RP5C01 leapyear bits when writing the year.
 1.3.2.1  08-Jan-2000  he Pull up revisions 1.4-1.5 (requested by is):
Y2K fix for A2000, A3000 and A4000 battery backed clock modules.
 1.8.12.2  18-Oct-2002  nathanw Catch up to -current.
 1.8.12.1  28-Feb-2002  nathanw Catch up to -current.
 1.8.8.2  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.8.8.1  11-Feb-2002  jdolecek Sync w/ -current.
 1.12.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1  03-Aug-2004  skrll Sync with HEAD
 1.14.2.2  30-Dec-2006  yamt sync with head.
 1.14.2.1  21-Jun-2006  yamt sync with head.
 1.16.8.1  14-Sep-2006  yamt sync with head.
 1.16.4.1  09-Sep-2006  rpaulo sync with head
 1.17.2.1  18-Nov-2006  ad Sync with head.
 1.19.2.1  22-Oct-2006  yamt sync with head
 1.20.86.1  17-Feb-2011  bouyer Sync with HEAD
 1.20.84.1  06-Jun-2011  jruoho Sync with HEAD.
 1.20.78.2  12-Jun-2011  rmind sync with head
 1.20.78.1  05-Mar-2011  rmind sync with head
 1.21.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.22.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.2.1  30-Oct-2012  yamt sync with head

RSS XML Feed