[RFC and PATCH] Move the m68k genrtc driver into 2.5 and use on PPC

Richard Zidlicky Richard.Zidlicky at stud.informatik.uni-erlangen.de
Fri Jun 14 08:31:43 EST 2002

On Thu, Jun 13, 2002 at 12:06:46PM -0700, Tom Rini wrote:

> Secondly to the m68k people, does anyone have an objection (or would
> like to do it themselves?) with me trying to get Linus to take the
> changes to include/linux/rtc.h?  radeonfb.c currently conflicts with the
> 'pll_info' struct, but Ani Joshi is renaming it.

I will be happy whoever gets it in. The pll_info stuff could be
renamed in genrtc.c as well.

> used to be define_bool'ed to y on CONFIG_SUN3, but I'm not sure if that
> looks nice in a common file.  Any idea on how to solve this nicely?

m68k doesn't source drivers/chars/Config.in so just don't do
anything about it?

> diff -Nru a/drivers/char/Config.help b/drivers/char/Config.help
> --- a/drivers/char/Config.help	Thu Jun 13 12:03:49 2002
> +++ b/drivers/char/Config.help	Thu Jun 13 12:03:49 2002
> @@ -1058,6 +1058,34 @@
>    The module is called rtc.o. If you want to compile it as a module,
>    say M here and read <file:Documentation/modules.txt>.
> +Generic Real Time Clock Support
> +  If you say Y here and create a character special file /dev/rtc with
> +  major number 10 and minor number 135 using mknod ("man mknod"), you
> +  will get access to the real time clock (or hardware clock) built
> +  into your computer.
> +
> +  In 2.4 and later kernels this is the only way to set and get rtc
> +  time on m68k systems so it is highly recommended.
> +
> +  It reports status information via the file /proc/driver/rtc and its
> +  behaviour is set by various ioctls on /dev/rtc. If you enable the
> +  "extended RTC operation" below it will also provide an emulation
> +  for RTC_UIE which is required by some programs and may improve
> +  precision in some cases.
> +
> +  This driver is also available as a module ( = code which can be
> +  inserted in and removed from the running kernel whenever you want).
> +  The module is called rtc.o. If you want to compile it as a module,
genrtc.o ... I could swear I fixed it in m68k CVS ;)


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list