Commit Graph

8 Commits

Author SHA1 Message Date
bjh21 70c402ea14 Since I've got the datasheets in front of me, add #defines for the missing
registers in the supported MK48Txx chips.
2004-12-30 12:36:29 +00:00
tsutsui 614e6d4de9 Cleanup MI mk48txx(4) todclock driver:
- Prepare mk48txxvar.h and leave only register definitions in mk48txxreg.h.
- Define struct mk48txx_softc as usual devices and allocate necessary
  members like struct todr_chip_handle in it.
- Change mk48txx_attach(), mk48txx_nvwr() and mk48txx_nvrd() to take
  struct mk48txx_softc.
2003-11-01 22:41:42 +00:00
scw c4dbe1a160 Allow MD code to provide functions for reading/writing NVRAM/RTC
locations. If passed NULL, the old behaviour using bus_space_{read,write}_1()
is used. Otherwise, all access to the chip goes via the MD functions.

This is necessary for mvmeppc boards where the mk48txx NVRAM/RTC is not
directly addressable.
2002-02-23 17:18:54 +00:00
kleink bc1f5761e3 Recognize the MK48T18 as well (differs from the MK48T08 only in packaging
options and voltages).
2001-12-06 18:54:23 +00:00
pk ad9bda9339 Change `nvram size' data type to `bus_size_t'. 2000-11-11 11:59:42 +00:00
pk 526def8fd1 Add a function to retrieve the size of the on-chip NVRAM area. 2000-11-11 11:03:31 +00:00
tsutsui 91959d389e Typo in comment. 2000-10-03 13:54:02 +00:00
pk 4ba0c6b55c New time-of-day clock chip drivers. These implement the todr(9) interface. 2000-07-25 22:33:02 +00:00