patch-2.3.99-pre3 linux/include/linux/serial.h

Next file: linux/include/linux/serialP.h
Previous file: linux/include/linux/pipe_fs_i.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/include/linux/serial.h linux/include/linux/serial.h
@@ -10,6 +10,8 @@
 #ifndef _LINUX_SERIAL_H
 #define _LINUX_SERIAL_H
 
+#include <asm/page.h>
+
 /*
  * Counters of the input lines (CTS, DSR, RI, CD) interrupts
  */
@@ -23,12 +25,12 @@
 /*
  * The size of the serial xmit buffer is 1 page, or 4096 bytes
  */
-#define SERIAL_XMIT_SIZE 4096
+#define SERIAL_XMIT_SIZE PAGE_SIZE
 
 struct serial_struct {
 	int	type;
 	int	line;
-	int	port;
+	unsigned long	port;
 	int	irq;
 	int	flags;
 	int	xmit_fifo_size;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)