Does the ARAnyM support code run on real Atari hardware? I need the patch below to run a multi-platform kernel on my Amiga 4000/040, else nf_get_id crashes with e.g.: *** ILLEGAL INSTRUCTION *** FORMAT=0 Current process id is 1 BAD KERNEL TRAP: 00000000 Modules linked in: PC: [<00013c18>] nf_get_id+0x0/0x4 SR: 2004 SP: 003c9f3c a2: 003c68f0 d0: 00000000 d1: 000102a0 d2: 00000000 d3: 00000106 d4: 00031446 d5: ffffffed a0: 00305b80 a1: 00305c24 Process swapper (pid: 1, task=003c68f0) Frame format=0 --- a/arch/m68k/emu/nfeth.c +++ b/arch/m68k/emu/nfeth.c @@ -246,6 +246,9 @@ int __init nfeth_init(void) long ver; int i; + if (!MACH_IS_ATARI) + return -ENODEV; + nfEtherID = nf_get_id("ETHERNET"); if (!nfEtherID) return -ENODEV; --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c @@ -323,7 +323,8 @@ void __init setup_arch(char **cmdline_p) } #ifdef CONFIG_NATFEAT - nf_init(); + if (MACH_IS_ATARI) + nf_init(); #endif paging_init(); Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx 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 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html