On Thu, Dec 5, 2013 at 12:53 AM, Michael Schmitz <schmitzmic@xxxxxxxxx> wrote:
On Tue, Dec 3, 2013 at 12:07 AM, Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
Going back into time...
On Mon, 27 Apr 2009, Geert Uytterhoeven wrote:
4. CONFIG_RTC_CLASS=y, CONFIG_RTC_DRV_CMOS=[my], /dev/rtc is dynamic
While rtc-cmos can be enabled on Atari (it was derived from
rtc.c), it won't work yet,
as the necessary rtc_cmos platform device is not yet created on Atari.
I gave it a try, cfr. "[PATCH 1/2] [RFC] m68k/atari: Create rtc_cmos platform
device" below.
Unfortunately it didn't work well, cfr. "[PATCH 2/2] [RFC] rtc: Disable
RTC_DRV_CMOS on Atari" below, while rtc-generic works fine for the RTC part,
and the separate nvram driver works for the NVRAM part.
So unless someone has a good reason for using rtc_cmos (and some patches
to fix its issues), I'll go for [PATCH 2/2].
The generic CMOS driver will have the TT_MFP_RTC interrupt available
only on a TT - maybe that's why it won't work on ARAnyM?
Perhaps. Note that rtc-generic also doesn't have an interrupt, but it does work.
Would be nice if someone could try rtc-cmos on a real TT, of course.
Nothing wrong with applying the second part of 1/2 (renaming the
RTC_PORT macro to ATARI_RTC_PORT) anyway, though.
Good point, thanks! Will do.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html