> 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. There's another change to the RTC code that's required to make it link, I think. > /* On Ataris, the checksum is over all bytes except the checksum bytes > * themselves; these are at the very end */ > #define ATARI_CKS_RANGE_START 0 > --- 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. Michael