[PATCH 478] M68k SERIAL_PORT_DFNS only if CONFIG_ISA

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 10/31/04

  • Next message: Geert Uytterhoeven: "[PATCH 505] M68k: Update defconfig for 2.6.9"
    Date:	Sun, 31 Oct 2004 11:03:35 +0100
    To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
    
    

    M68k serial: Only define SERIAL_PORT_DFNS when CONFIG_ISA is defined. Otherwise
    the first 4 slots in the 8250 driver are unavailable on non-ISA machines.
    (from Kars de Jong)

    Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

    --- linux-2.6.10-rc1/include/asm-m68k/serial.h 2004-04-05 15:09:08.000000000 +0200
    +++ linux-m68k-2.6.10-rc1/include/asm-m68k/serial.h 2004-07-14 13:19:48.000000000 +0200
    @@ -74,6 +74,8 @@
     #define EXTRA_SERIAL_PORT_DEFNS
     #endif
     
    +#ifdef CONFIG_ISA
     #define SERIAL_PORT_DFNS \
             STD_SERIAL_PORT_DEFNS \
             EXTRA_SERIAL_PORT_DEFNS
    +#endif

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    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-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Geert Uytterhoeven: "[PATCH 505] M68k: Update defconfig for 2.6.9"

    Relevant Pages