diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/misc/ibmasm/uart.c | 20 | ||||
-rw-r--r-- | drivers/serial/serial_lh7a40x.c | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index dea6589d1533..7fc692a8f5b0 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -6,7 +6,7 @@ menu "Misc devices" | |||
6 | 6 | ||
7 | config IBM_ASM | 7 | config IBM_ASM |
8 | tristate "Device driver for IBM RSA service processor" | 8 | tristate "Device driver for IBM RSA service processor" |
9 | depends on X86 && PCI && EXPERIMENTAL && BROKEN | 9 | depends on X86 && PCI && EXPERIMENTAL |
10 | ---help--- | 10 | ---help--- |
11 | This option enables device driver support for in-band access to the | 11 | This option enables device driver support for in-band access to the |
12 | IBM RSA (Condor) service processor in eServer xSeries systems. | 12 | IBM RSA (Condor) service processor in eServer xSeries systems. |
diff --git a/drivers/misc/ibmasm/uart.c b/drivers/misc/ibmasm/uart.c index 914804512dba..7e98434cfa37 100644 --- a/drivers/misc/ibmasm/uart.c +++ b/drivers/misc/ibmasm/uart.c | |||
@@ -25,15 +25,15 @@ | |||
25 | #include <linux/termios.h> | 25 | #include <linux/termios.h> |
26 | #include <linux/tty.h> | 26 | #include <linux/tty.h> |
27 | #include <linux/serial_core.h> | 27 | #include <linux/serial_core.h> |
28 | #include <linux/serial.h> | ||
29 | #include <linux/serial_reg.h> | 28 | #include <linux/serial_reg.h> |
29 | #include <linux/serial_8250.h> | ||
30 | #include "ibmasm.h" | 30 | #include "ibmasm.h" |
31 | #include "lowlevel.h" | 31 | #include "lowlevel.h" |
32 | 32 | ||
33 | 33 | ||
34 | void ibmasm_register_uart(struct service_processor *sp) | 34 | void ibmasm_register_uart(struct service_processor *sp) |
35 | { | 35 | { |
36 | struct serial_struct serial; | 36 | struct uart_port uport; |
37 | void __iomem *iomem_base; | 37 | void __iomem *iomem_base; |
38 | 38 | ||
39 | iomem_base = sp->base_address + SCOUT_COM_B_BASE; | 39 | iomem_base = sp->base_address + SCOUT_COM_B_BASE; |
@@ -47,14 +47,14 @@ void ibmasm_register_uart(struct service_processor *sp) | |||
47 | return; | 47 | return; |
48 | } | 48 | } |
49 | 49 | ||
50 | memset(&serial, 0, sizeof(serial)); | 50 | memset(&uport, 0, sizeof(struct uart_port)); |
51 | serial.irq = sp->irq; | 51 | uport.irq = sp->irq; |
52 | serial.baud_base = 3686400 / 16; | 52 | uport.uartclk = 3686400; |
53 | serial.flags = UPF_AUTOPROBE | UPF_SHARE_IRQ; | 53 | uport.flags = UPF_AUTOPROBE | UPF_SHARE_IRQ; |
54 | serial.io_type = UPIO_MEM; | 54 | uport.iotype = UPIO_MEM; |
55 | serial.iomem_base = iomem_base; | 55 | uport.membase = iomem_base; |
56 | 56 | ||
57 | sp->serial_line = register_serial(&serial); | 57 | sp->serial_line = serial8250_register_port(&uport); |
58 | if (sp->serial_line < 0) { | 58 | if (sp->serial_line < 0) { |
59 | dev_err(sp->dev, "Failed to register serial port\n"); | 59 | dev_err(sp->dev, "Failed to register serial port\n"); |
60 | return; | 60 | return; |
@@ -68,5 +68,5 @@ void ibmasm_unregister_uart(struct service_processor *sp) | |||
68 | return; | 68 | return; |
69 | 69 | ||
70 | disable_uart_interrupts(sp->base_address); | 70 | disable_uart_interrupts(sp->base_address); |
71 | unregister_serial(sp->serial_line); | 71 | serial8250_unregister_port(sp->serial_line); |
72 | } | 72 | } |
diff --git a/drivers/serial/serial_lh7a40x.c b/drivers/serial/serial_lh7a40x.c index 32f808d157a1..8302376800c0 100644 --- a/drivers/serial/serial_lh7a40x.c +++ b/drivers/serial/serial_lh7a40x.c | |||
@@ -207,7 +207,7 @@ static void lh7a40xuart_tx_chars (struct uart_port* port) | |||
207 | return; | 207 | return; |
208 | } | 208 | } |
209 | if (uart_circ_empty (xmit) || uart_tx_stopped (port)) { | 209 | if (uart_circ_empty (xmit) || uart_tx_stopped (port)) { |
210 | lh7a40xuart_stop_tx (port, 0); | 210 | lh7a40xuart_stop_tx (port); |
211 | return; | 211 | return; |
212 | } | 212 | } |
213 | 213 | ||
@@ -229,7 +229,7 @@ static void lh7a40xuart_tx_chars (struct uart_port* port) | |||
229 | uart_write_wakeup (port); | 229 | uart_write_wakeup (port); |
230 | 230 | ||
231 | if (uart_circ_empty (xmit)) | 231 | if (uart_circ_empty (xmit)) |
232 | lh7a40xuart_stop_tx (port, 0); | 232 | lh7a40xuart_stop_tx (port); |
233 | } | 233 | } |
234 | 234 | ||
235 | static void lh7a40xuart_modem_status (struct uart_port* port) | 235 | static void lh7a40xuart_modem_status (struct uart_port* port) |