[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

linux-2.4.20 CVS kernel-image for atari



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)
+
 /* 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.

Christian

gcc -D__KERNEL__ -I/debian/linux-m68k/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2   -nostdinc -iwithprefix include -DKBUILD_BASENAME=bios32  -c -o bios32.o bios32.c
bios32.c: In function `layout_bus':
bios32.c:305: wrong type argument to unary exclamation mark
bios32.c:305: wrong type argument to unary exclamation mark
bios32.c:328: incompatible types in assignment
bios32.c:328: structure has no member named `sibling'
bios32.c:341: incompatible types in assignment
bios32.c:341: structure has no member named `sibling'
bios32.c: In function `pcibios_fixup':
bios32.c:375: `pci_root' undeclared (first use in this function)
bios32.c:375: (Each undeclared identifier is reported only once
bios32.c:375: for each function it appears in.)
bios32.c: In function `pcibios_claim_resources':
bios32.c:402: incompatible types in assignment
bios32.c:402: structure has no member named `sibling'
bios32.c:430: invalid operands to binary !=
bios32.c:431: incompatible type for argument 1 of `pcibios_claim_resources'
bios32.c:433: structure has no member named `next'
bios32.c:397: warning: `dev' might be used uninitialized in this function
bios32.c: In function `pcibios_assign_resource':
bios32.c:465: too few arguments to function `allocate_resource'
bios32.c:471: too few arguments to function `allocate_resource'
bios32.c: In function `pcibios_fixup_bus':
bios32.c:488: incompatible types in assignment
bios32.c:488: structure has no member named `sibling'
bios32.c:483: warning: `dev' might be used uninitialized in this function
bios32.c: In function `pcibios_init':
bios32.c:506: `pci_root' undeclared (first use in this function)
make[2]: *** [bios32.o] Error 1
make[2]: Leaving directory `/debian/linux-m68k/linux-2.4/arch/m68k/kernel'
make[1]: *** [_dir_arch/m68k/kernel] Error 2
make[1]: Leaving directory `/debian/linux-m68k/linux-2.4'
make: *** [stamp-build] Error 2



Reply to: