git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
serial_core.h
diff --git
a/include/linux/serial_core.h
b/include/linux/serial_core.h
index
f9fdf97
..
cf23813
100644
(file)
--- a/
include/linux/serial_core.h
+++ b/
include/linux/serial_core.h
@@
-67,8
+67,8
@@
/* Parisc type numbers. */
#define PORT_MUX 48
/* Parisc type numbers. */
#define PORT_MUX 48
-/* Atmel AT91
xxx
SoC */
-#define PORT_AT
91
49
+/* Atmel AT91
/ AT32
SoC */
+#define PORT_AT
MEL
49
/* Macintosh Zilog type numbers */
#define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */
/* Macintosh Zilog type numbers */
#define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */
@@
-132,6
+132,8
@@
#define PORT_S3C2412 73
#define PORT_S3C2412 73
+/* Xilinx uartlite */
+#define PORT_UARTLITE 74
#ifdef __KERNEL__
#ifdef __KERNEL__
@@
-164,8
+166,8
@@
struct uart_ops {
void (*break_ctl)(struct uart_port *, int ctl);
int (*startup)(struct uart_port *);
void (*shutdown)(struct uart_port *);
void (*break_ctl)(struct uart_port *, int ctl);
int (*startup)(struct uart_port *);
void (*shutdown)(struct uart_port *);
- void (*set_termios)(struct uart_port *, struct termios *new,
- struct termios *old);
+ void (*set_termios)(struct uart_port *, struct
k
termios *new,
+ struct
k
termios *old);
void (*pm)(struct uart_port *, unsigned int state,
unsigned int oldstate);
int (*set_wake)(struct uart_port *, unsigned int state);
void (*pm)(struct uart_port *, unsigned int state,
unsigned int oldstate);
int (*set_wake)(struct uart_port *, unsigned int state);
@@
-359,8
+361,8
@@
void uart_write_wakeup(struct uart_port *port);
*/
void uart_update_timeout(struct uart_port *port, unsigned int cflag,
unsigned int baud);
*/
void uart_update_timeout(struct uart_port *port, unsigned int cflag,
unsigned int baud);
-unsigned int uart_get_baud_rate(struct uart_port *port, struct termios *termios,
- struct termios *old, unsigned int min,
+unsigned int uart_get_baud_rate(struct uart_port *port, struct
k
termios *termios,
+ struct
k
termios *old, unsigned int min,
unsigned int max);
unsigned int uart_get_divisor(struct uart_port *port, unsigned int baud);
unsigned int max);
unsigned int uart_get_divisor(struct uart_port *port, unsigned int baud);
@@
-409,13
+411,12
@@
int uart_resume_port(struct uart_driver *reg, struct uart_port *port);
* The following are helper functions for the low level drivers.
*/
static inline int
* The following are helper functions for the low level drivers.
*/
static inline int
-uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
- struct pt_regs *regs)
+uart_handle_sysrq_char(struct uart_port *port, unsigned int ch)
{
#ifdef SUPPORT_SYSRQ
if (port->sysrq) {
if (ch && time_before(jiffies, port->sysrq)) {
{
#ifdef SUPPORT_SYSRQ
if (port->sysrq) {
if (ch && time_before(jiffies, port->sysrq)) {
- handle_sysrq(ch,
regs, NULL
);
+ handle_sysrq(ch,
port->info->tty
);
port->sysrq = 0;
return 1;
}
port->sysrq = 0;
return 1;
}
@@
-425,7
+426,7
@@
uart_handle_sysrq_char(struct uart_port *port, unsigned int ch,
return 0;
}
#ifndef SUPPORT_SYSRQ
return 0;
}
#ifndef SUPPORT_SYSRQ
-#define uart_handle_sysrq_char(port,ch
,regs) uart_handle_sysrq_char(port, 0, NULL
)
+#define uart_handle_sysrq_char(port,ch
) uart_handle_sysrq_char(port, 0
)
#endif
/*
#endif
/*