[2.5 patch] remove CONFIG_SERIAL_21285_OLD (fwd)

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 09/22/03

  • Next message: Sebastian Piecha: "PROBLEM: oops booting 2.4.22-ac4"
    Date:	Mon, 22 Sep 2003 16:26:02 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    The patch below (already approved by Russell King) still applies (with a
    few lines offset) against current 2.6 kernels.

    Please apply
    Adrian

    ----- Forwarded message from Adrian Bunk <bunk@fs.tum.de> -----

    Date: Mon, 14 Jul 2003 00:41:11 +0200
    From: Adrian Bunk <bunk@fs.tum.de>
    To: Russell King <rmk@arm.linux.org.uk>, linux-serial@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
    Subject: [2.5 patch] remove CONFIG_SERIAL_21285_OLD

    CONFIG_SERIAL_21285_OLD depends on the non-existent option
    CONFIG_OBSOLETE, IOW it's not selectable, and the help text says "This
    is obsolete and will be removed during later 2.5 development.".

    Is the patch below to remove this option OK?

    cu
    Adrian

    --- linux-2.5.75-mm1/drivers/serial/Kconfig.old 2003-07-14 00:35:38.000000000 +0200
    +++ linux-2.5.75-mm1/drivers/serial/Kconfig 2003-07-14 00:36:26.000000000 +0200
    @@ -249,13 +249,6 @@
               PCI bridge you can enable its onboard serial port by enabling this
               option.
     
    -config SERIAL_21285_OLD
    - bool "Use /dev/ttyS0 device (OBSOLETE)"
    - depends on SERIAL_21285=y && OBSOLETE
    - help
    - Use the old /dev/ttyS name, major 4 minor 64. This is obsolete
    - and will be removed during later 2.5 development.
    -
     config SERIAL_21285_CONSOLE
             bool "Console on DC21285 serial port"
             depends on SERIAL_21285=y
    --- linux-2.5.75-mm1/drivers/serial/21285.c.old 2003-07-14 00:37:07.000000000 +0200
    +++ linux-2.5.75-mm1/drivers/serial/21285.c 2003-07-14 00:38:16.000000000 +0200
    @@ -481,18 +481,6 @@
     }
     
     extern struct uart_driver serial21285_reg;
    -#ifdef CONFIG_SERIAL_21285_OLD
    -static struct console serial21285_old_cons =
    -{
    - .name = SERIAL_21285_OLD_NAME,
    - .write = serial21285_console_write,
    - .device = uart_console_device,
    - .setup = serial21285_console_setup,
    - .flags = CON_PRINTBUFFER,
    - .index = -1,
    - .data = &serial21285_reg,
    -};
    -#endif
     
     static struct console serial21285_console =
     {
    -
    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/

    ----- End forwarded message -----
    -
    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: Sebastian Piecha: "PROBLEM: oops booting 2.4.22-ac4"

    Relevant Pages

    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... I think the patch should be included in the official kernel ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • [2.6 patch] cdrom.c: make several functions static (fwd)
      ... The patch forwarded below still applies and compiles against ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ... There had been need of rain for many days. ...
      (Linux-Kernel)
    • [2.6 patch] some parport_pc.c cleanups (fwd)
      ... The patch forwarded below still applies and compiles against ... extern struct parport *parport_pc_probe_port (unsigned long base, ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [2.4 patch] fix a compile warning in tipar.c (fwd)
      ... [2.4 patch] fix a compile warning in tipar.c ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • RE: kernel BUG at kernel/timer.c:370!
      ... Subject: kernel BUG at kernel/timer.c:370! ... Could you please apply the below patch, wait for the problem to reoccur, ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)