On Thu, 13 Mar 2003, Michael Schmitz wrote: > > Atari does not build either. Even after some fixes: > > > > --- linux-2.4/drivers/char/nvram.c.orig 2002-11-30 07:33:03.000000000 > > -0500 > > +++ linux-2.4/drivers/char/nvram.c 2003-03-07 02:19:03.000000000 -0500 > > @@ -98,6 +98,8 @@ > > #define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) > > #define CHECK_DRIVER_INIT() (MACH_IS_ATARI && > > ATARIHW_PRESENT(TT_CLK)) > > > > +#define NVRAM_BYTES (128-NVRAM_FIRST_BYTE) > > + > > That's guesswork?? I'll check my Atari tree to see what did work for me > last time I tried. I'm rather certain I posted the diff to linux-m68k at > the time.
Linux/m68k CVS has `#define NVRAM_BYTES 50', and compiles nvram.c fine. > There's another change to the RTC code that's required to make it link, I > think. Look at Linux/m68k CVS :-) BTW, nice to see someone still looking at the Atari support in those files! I was thinking about dropping our changes to drivers/char/rtc.c, unless (a) genrtc is no suitable replacement and (b) someone steps up to verify that it still works on Atari and is willing to clean it up for submission to Marcelo/Linus. > > --- linux-2.4/include/asm-m68k/pci.h.orig 2002-11-30 07:39:03.000000000 > > -0500 > > +++ linux-2.4/include/asm-m68k/pci.h 2003-03-07 02:45:29.000000000 > > -0500 > > @@ -7,6 +7,9 @@ > > * Written by Wout Klaren. > > */ > > > > +#define PCIBIOS_MIN_IO 0x1000 > > +#define PCIBIOS_MIN_MEM 0x10000000 > > + > > struct pci_ops; > > > > /* > > > > It would be nice if somebody with atari knowlegde could check these (in if > > they are correct) and fix the problem. > > There's no PCI on Atari. These constants should be meaningless. If they're > actually used for something else (i.e. access to hardware registers), it > would be important to know if these are physical or kernel virtual > addresses. Think Hades. Not that Hades still compiles, though... Gr{oetje,eeting}s, Geert P.S. I think it's a good solution to always CC Linux/m68k kernel problems to the linux-m68k list. -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] 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