Hi Kars, On Sun, 2 Mar 2003 (yeah, that's a long time ago), Kars de Jong wrote:
I got tired of my Amiga locking up every time when hwclock got run (see http://lists.linux-m68k.org/pipermail/linux-m68k/2002-January/000730.html for details) even with CONFIG_GEN_RTC_X=y in my .config, so I decided to look at the OKI website for the datasheet of the MSM6242RS clock (the one used in A2000 / A1200).
While looking into creating separate rtc-msm6242 (`A2000 RTC') and rtc-rp5c01 (`A3000 RTC') drivers, as per current RTC policy, I browsed through the various Amiga schematics to identify RTC chips. Surprisingly, I discovered a Ricoh RP5C01 (not an Oki MSM6242) on the A1200 schematics: http://www.symbolengine.com/index.php/2007/04/21/amiga-1200-schematics-in-pdf-format/ Hence does arch/m68k/amiga/config.c:amiga_identify() handle the A1200 incorrectly? It also seems the CDTV has a builtin MSM6242, while the CD32 hasn't any RTC, like A1000/A500/A600. So ideally, we have to probe for RTC presence. I guess for the MSM6242 we can use the existing loop (timeout = no MSM6242). What about the RP5C01? 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