Commit Graph

8 Commits

Author SHA1 Message Date
dyoung b6584574fc #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 18:41:51 +00:00
mrg ebc9e23316 various aprint_* fixes. 2010-03-11 03:54:56 +00:00
mrg 15e9690d92 no need for this to use BUS_SPACE_MAP_LINEAR - it uses bus_space properly 2008-12-14 23:13:18 +00:00
tsutsui 4090172b20 Don't forget to initialize sc_dev. 2008-03-29 05:42:45 +00:00
tsutsui 048fb884fc Split device_t and softc for MI mc146818 clock,
and other related misc cosmetics.
2008-03-28 19:05:49 +00:00
tsutsui db09bcc34f Move todr_attach(9) calls from each MD attachment to MI mc146818_attach(). 2008-01-10 15:17:39 +00:00
tsutsui 2ae6e40c03 More cleanup of sparc64 clock stuff:
- split mkclock attachment from sparc64/clock.c into dev/mkclock.c
  (now clock.s only contains clock interrupt and timecounter stuff)
- rename match/attach functions of rtc at ebus to match the device name
- update some comments around clock devices in GENERIC

No objection on port-sparc64 for a month.
2006-11-09 15:08:04 +00:00
mrg 273c5b01ad avoid bringing in mc146818 routines for kernels that do not have the
'rtc'-style clock linked in.  put the rtc code in it's own file and
only link it in if it is actually configured.  fixes PR#23342.
2006-10-09 03:34:56 +00:00