patch-2.3.29 linux/include/linux/serial.h
Next file: linux/include/linux/serialP.h
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index
-  Lines: 22
-  Date:
Fri Nov 19 11:30:54 1999
-  Orig file: 
v2.3.28/linux/include/linux/serial.h
-  Orig date: 
Mon Nov  1 13:56:27 1999
diff -u --recursive --new-file v2.3.28/linux/include/linux/serial.h linux/include/linux/serial.h
@@ -20,7 +20,8 @@
 	int	custom_divisor;
 	int	baud_base;
 	unsigned short	close_delay;
-	char	reserved_char[2];
+	char	io_type;
+	char	reserved_char[1];
 	int	hub6;
 	unsigned short	closing_wait; /* time to wait before closing */
 	unsigned short	closing_wait2; /* no longer used... */
@@ -67,6 +68,11 @@
 #define PORT_16654	11
 #define PORT_16850	12
 #define PORT_MAX	12
+
+#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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)