[PATCH] Remove SERIAL_IO_GSC

Matthew Wilcox (willy@debian.org)
Tue, 4 Jun 2002 15:24:42 +0100


We never needed this, and it should be removed -- I recently saw someone
copy it blindly into another file.

diff -urNX build-tools/dontdiff linux-upstream/drivers/char/serial.c linux-pa/drivers/char/serial.c
--- linux-upstream/drivers/char/serial.c Tue Jun 4 07:58:09 2002
+++ linux-pa/drivers/char/serial.c Mon Feb 25 17:44:54 2002
@@ -418,10 +426,6 @@
case SERIAL_IO_MEM:
return readb((unsigned long) info->iomem_base +
(offset<<info->iomem_reg_shift));
-#ifdef CONFIG_SERIAL_GSC
- case SERIAL_IO_GSC:
- return gsc_readb(info->iomem_base + offset);
-#endif
default:
return inb(info->port + offset);
}
@@ -441,11 +445,6 @@
writeb(value, (unsigned long) info->iomem_base +
(offset<<info->iomem_reg_shift));
break;
-#ifdef CONFIG_SERIAL_GSC
- case SERIAL_IO_GSC:
- gsc_writeb(value, info->iomem_base + offset);
- break;
-#endif
default:
outb(value, info->port+offset);
}
diff -urNX build-tools/dontdiff linux-upstream/include/linux/serial.h linux-pa/include/linux/serial.h
--- linux-upstream/include/linux/serial.h Tue Jun 4 07:59:51 2002
+++ linux-pa/include/linux/serial.h Thu Nov 29 08:50:01 2001
@@ -80,7 +80,6 @@
#define SERIAL_IO_PORT 0
#define SERIAL_IO_HUB6 1
#define SERIAL_IO_MEM 2
-#define SERIAL_IO_GSC 3

struct serial_uart_config {
char *name;

-- 
Revolutions do not require corporate support.
-
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/