Thread (6 messages) 6 messages, 3 authors, 2000-07-16

RTC on 2.4.0-test4 (Was Re: Upgraded utils...)

flat view

From: Martin Costabel <hidden>
Date: 2000-07-16 11:45:51

Martin Costabel wrote:
Franz Sirl wrote:
[]
quoted
Yes! That's why I did CONFIG_PPC_RTC, it's such simple code, but it helps a
lot to bring us in line with the other architectures.
For the record: Yes, it works. (On a Pmac 6400, with a 2.2.17pre11
kernel from bitkeeper; 2.4.0-test4 still doesn't want to boot, so I
can't test it).
On bitkeeper kernel 2.4.0-test4, I could get it to work, with the
following modifications (a patch is attached below):

- The file drivers/macintosh/rtc.c was absent. I copied the one from the
_2_2 kernel tree and changed it in analogy to the sbus/rtc.c file.

- In drivers/macintosh/Makefile, rtc.o should be in O_OBJS instead of
L_OBJS.

- If compiled as module, rtc reports unresolved symbols, because the
EXPORT_SYMBOLS in arch/ppc/kernel/ppc_ksyms.c are between
#ifdef CONFIG_PPC_RTC - #endif
instead of #ifdef CONFIG_PPC_RTC_MODULE, as in the _2_2 tree.

--
Martin

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help