diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/serial_8250.h | 1 | ||||
-rw-r--r-- | include/linux/serial_core.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 77d83d929f2c..d4d2a78ad43e 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h | |||
@@ -28,6 +28,7 @@ struct plat_serial8250_port { | |||
28 | unsigned char iotype; /* UPIO_* */ | 28 | unsigned char iotype; /* UPIO_* */ |
29 | unsigned char hub6; | 29 | unsigned char hub6; |
30 | upf_t flags; /* UPF_* flags */ | 30 | upf_t flags; /* UPF_* flags */ |
31 | unsigned int type; /* If UPF_FIXED_TYPE */ | ||
31 | unsigned int (*serial_in)(struct uart_port *, int); | 32 | unsigned int (*serial_in)(struct uart_port *, int); |
32 | void (*serial_out)(struct uart_port *, int, int); | 33 | void (*serial_out)(struct uart_port *, int, int); |
33 | }; | 34 | }; |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 60061f44f3d8..f155252f148c 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -295,6 +295,8 @@ struct uart_port { | |||
295 | #define UPF_MAGIC_MULTIPLIER ((__force upf_t) (1 << 16)) | 295 | #define UPF_MAGIC_MULTIPLIER ((__force upf_t) (1 << 16)) |
296 | #define UPF_CONS_FLOW ((__force upf_t) (1 << 23)) | 296 | #define UPF_CONS_FLOW ((__force upf_t) (1 << 23)) |
297 | #define UPF_SHARE_IRQ ((__force upf_t) (1 << 24)) | 297 | #define UPF_SHARE_IRQ ((__force upf_t) (1 << 24)) |
298 | /* The exact UART type is known and should not be probed. */ | ||
299 | #define UPF_FIXED_TYPE ((__force upf_t) (1 << 27)) | ||
298 | #define UPF_BOOT_AUTOCONF ((__force upf_t) (1 << 28)) | 300 | #define UPF_BOOT_AUTOCONF ((__force upf_t) (1 << 28)) |
299 | #define UPF_FIXED_PORT ((__force upf_t) (1 << 29)) | 301 | #define UPF_FIXED_PORT ((__force upf_t) (1 << 29)) |
300 | #define UPF_DEAD ((__force upf_t) (1 << 30)) | 302 | #define UPF_DEAD ((__force upf_t) (1 << 30)) |