diff options
Diffstat (limited to 'include/linux/serialP.h')
-rw-r--r-- | include/linux/serialP.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/include/linux/serialP.h b/include/linux/serialP.h index 2307f11d8a6b..2b9e6b9554d5 100644 --- a/include/linux/serialP.h +++ b/include/linux/serialP.h | |||
@@ -19,7 +19,6 @@ | |||
19 | * For definitions of the flags field, see tty.h | 19 | * For definitions of the flags field, see tty.h |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/version.h> | ||
23 | #include <linux/config.h> | 22 | #include <linux/config.h> |
24 | #include <linux/termios.h> | 23 | #include <linux/termios.h> |
25 | #include <linux/workqueue.h> | 24 | #include <linux/workqueue.h> |
@@ -141,44 +140,4 @@ struct rs_multiport_struct { | |||
141 | #define ALPHA_KLUDGE_MCR 0 | 140 | #define ALPHA_KLUDGE_MCR 0 |
142 | #endif | 141 | #endif |
143 | 142 | ||
144 | /* | ||
145 | * Definitions for PCI support. | ||
146 | */ | ||
147 | #define SPCI_FL_BASE_MASK 0x0007 | ||
148 | #define SPCI_FL_BASE0 0x0000 | ||
149 | #define SPCI_FL_BASE1 0x0001 | ||
150 | #define SPCI_FL_BASE2 0x0002 | ||
151 | #define SPCI_FL_BASE3 0x0003 | ||
152 | #define SPCI_FL_BASE4 0x0004 | ||
153 | #define SPCI_FL_GET_BASE(x) (x & SPCI_FL_BASE_MASK) | ||
154 | |||
155 | #define SPCI_FL_IRQ_MASK (0x0007 << 4) | ||
156 | #define SPCI_FL_IRQBASE0 (0x0000 << 4) | ||
157 | #define SPCI_FL_IRQBASE1 (0x0001 << 4) | ||
158 | #define SPCI_FL_IRQBASE2 (0x0002 << 4) | ||
159 | #define SPCI_FL_IRQBASE3 (0x0003 << 4) | ||
160 | #define SPCI_FL_IRQBASE4 (0x0004 << 4) | ||
161 | #define SPCI_FL_GET_IRQBASE(x) ((x & SPCI_FL_IRQ_MASK) >> 4) | ||
162 | |||
163 | /* Use successive BARs (PCI base address registers), | ||
164 | else use offset into some specified BAR */ | ||
165 | #define SPCI_FL_BASE_TABLE 0x0100 | ||
166 | |||
167 | /* Use successive entries in the irq resource table */ | ||
168 | #define SPCI_FL_IRQ_TABLE 0x0200 | ||
169 | |||
170 | /* Use the irq resource table instead of dev->irq */ | ||
171 | #define SPCI_FL_IRQRESOURCE 0x0400 | ||
172 | |||
173 | /* Use the Base address register size to cap number of ports */ | ||
174 | #define SPCI_FL_REGION_SZ_CAP 0x0800 | ||
175 | |||
176 | /* Do not use irq sharing for this device */ | ||
177 | #define SPCI_FL_NO_SHIRQ 0x1000 | ||
178 | |||
179 | /* This is a PNP device */ | ||
180 | #define SPCI_FL_ISPNP 0x2000 | ||
181 | |||
182 | #define SPCI_FL_PNPDEFAULT (SPCI_FL_IRQRESOURCE|SPCI_FL_ISPNP) | ||
183 | |||
184 | #endif /* _LINUX_SERIAL_H */ | 143 | #endif /* _LINUX_SERIAL_H */ |