patch-2.4.0-test2 linux/include/linux/serialP.h
Next file: linux/include/linux/serial_reg.h
Previous file: linux/include/linux/serial.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Jun 23 21:31:27 2000
- Orig file:
v2.4.0-test1/linux/include/linux/serialP.h
- Orig date:
Mon Mar 27 08:08:32 2000
diff -u --recursive --new-file v2.4.0-test1/linux/include/linux/serialP.h linux/include/linux/serialP.h
@@ -24,6 +24,11 @@
#include <linux/tqueue.h>
#include <linux/circ_buf.h>
#include <linux/wait.h>
+#if (LINUX_VERSION_CODE < 0x020300)
+/* Unfortunate, but Linux 2.2 needs async_icount defined here and
+ * it got moved in 2.3 */
+#include <linux/serial.h>
+#endif
struct serial_state {
int magic;
@@ -190,6 +195,9 @@
/* Do not use irq sharing for this device */
#define SPCI_FL_NO_SHIRQ 0x1000
-#define SPCI_FL_PNPDEFAULT (SPCI_FL_IRQRESOURCE)
+/* This is a PNP device */
+#define SPCI_FL_ISPNP 0x2000
+
+#define SPCI_FL_PNPDEFAULT (SPCI_FL_IRQRESOURCE|SPCI_FL_ISPNP)
#endif /* _LINUX_SERIAL_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)