[parisc-linux-cvs] DIFF CONFIG_ cleanup
Matthew Wilcox
willy@debian.org
Thu, 18 Oct 2001 14:52:24 +0100
On Wed, Oct 17, 2001 at 01:35:36PM -0600, Grant Grundler wrote:
> Index: drivers/char/serial.c
> ===================================================================
> RCS file: /home/cvs/parisc/linux/drivers/char/serial.c,v
> retrieving revision 1.26
> diff -u -p -r1.26 serial.c
> --- serial.c 2001/08/24 04:56:05 1.26
> +++ serial.c 2001/10/17 18:23:08
> @@ -226,6 +226,10 @@ static char *serial_revdate = "2001-07-0
> #include <asm/gsc.h>
> #endif
>
> +#ifdef CONFIG_SUPERIO
> +#include <asm/superio.h> /* for superio_serial_init() proto */
> +#endif
> +
> #ifdef CONFIG_MAC_SERIAL
> #define SERIAL_DEV_OFFSET 2
> #else
> @@ -5496,6 +5500,9 @@ static int __init rs_init(void)
> }
> #ifdef CONFIG_SERIAL_GSC
> probe_serial_gsc();
> +#endif
> +#ifdef CONFIG_SUPERIO
> + superio_serial_init();
> #endif
> #ifdef ENABLE_SERIAL_PCI
> probe_serial_pci();
I'm not sure about these changes. Why not let probe_serial_pci() pick
up the SuperIO card?
--
Revolutions do not require corporate support.