Skip to contentSkip to conversation

Remove SERIAL_IO_GSC

PATCH New Matthew Wilcox 1 participant 1 message Jun 4, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove SERIAL_IO_GSC

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

drivers/char/serial.c +0 -9
diff -urNX build-tools/dontdiff linux-upstream/drivers/char/serial.c linux-pa/drivers/char/serial.c
@@ -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);
 	}
include/linux/serial.h +0 -1
diff -urNX build-tools/dontdiff linux-upstream/include/linux/serial.h linux-pa/include/linux/serial.h
@@ -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;
Signature · 1 line
Revolutions do not require corporate support.