Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
qcomlt
kernel
Commits
24c83d45
Commit
24c83d45
authored
19 years ago
by
Linus Torvalds
Browse files
Options
Downloads
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-serial
parents
1077682b
66172d25
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
drivers/misc/Kconfig
+1
-1
1 addition, 1 deletion
drivers/misc/Kconfig
drivers/misc/ibmasm/uart.c
+10
-10
10 additions, 10 deletions
drivers/misc/ibmasm/uart.c
drivers/serial/serial_lh7a40x.c
+2
-2
2 additions, 2 deletions
drivers/serial/serial_lh7a40x.c
with
13 additions
and
13 deletions
drivers/misc/Kconfig
+
1
−
1
View file @
24c83d45
...
...
@@ -6,7 +6,7 @@ menu "Misc devices"
config IBM_ASM
tristate "Device driver for IBM RSA service processor"
depends on X86 && PCI && EXPERIMENTAL
&& BROKEN
depends on X86 && PCI && EXPERIMENTAL
---help---
This option enables device driver support for in-band access to the
IBM RSA (Condor) service processor in eServer xSeries systems.
...
...
This diff is collapsed.
Click to expand it.
drivers/misc/ibmasm/uart.c
+
10
−
10
View file @
24c83d45
...
...
@@ -25,15 +25,15 @@
#include
<linux/termios.h>
#include
<linux/tty.h>
#include
<linux/serial_core.h>
#include
<linux/serial.h>
#include
<linux/serial_reg.h>
#include
<linux/serial_8250.h>
#include
"ibmasm.h"
#include
"lowlevel.h"
void
ibmasm_register_uart
(
struct
service_processor
*
sp
)
{
struct
serial_struct
serial
;
struct
uart_port
uport
;
void
__iomem
*
iomem_base
;
iomem_base
=
sp
->
base_address
+
SCOUT_COM_B_BASE
;
...
...
@@ -47,14 +47,14 @@ void ibmasm_register_uart(struct service_processor *sp)
return
;
}
memset
(
&
serial
,
0
,
sizeof
(
s
erial
));
serial
.
irq
=
sp
->
irq
;
serial
.
baud_base
=
3686400
/
16
;
serial
.
flags
=
UPF_AUTOPROBE
|
UPF_SHARE_IRQ
;
serial
.
io
_
type
=
UPIO_MEM
;
serial
.
io
mem
_
base
=
iomem_base
;
memset
(
&
uport
,
0
,
sizeof
(
s
truct
uart_port
));
uport
.
irq
=
sp
->
irq
;
uport
.
uartclk
=
3686400
;
uport
.
flags
=
UPF_AUTOPROBE
|
UPF_SHARE_IRQ
;
uport
.
iotype
=
UPIO_MEM
;
uport
.
membase
=
iomem_base
;
sp
->
serial_line
=
register_serial
(
&
serial
);
sp
->
serial_line
=
serial8250_register_port
(
&
uport
);
if
(
sp
->
serial_line
<
0
)
{
dev_err
(
sp
->
dev
,
"Failed to register serial port
\n
"
);
return
;
...
...
@@ -68,5 +68,5 @@ void ibmasm_unregister_uart(struct service_processor *sp)
return
;
disable_uart_interrupts
(
sp
->
base_address
);
unregister_
serial
(
sp
->
serial_line
);
serial8250_
unregister_
port
(
sp
->
serial_line
);
}
This diff is collapsed.
Click to expand it.
drivers/serial/serial_lh7a40x.c
+
2
−
2
View file @
24c83d45
...
...
@@ -207,7 +207,7 @@ static void lh7a40xuart_tx_chars (struct uart_port* port)
return
;
}
if
(
uart_circ_empty
(
xmit
)
||
uart_tx_stopped
(
port
))
{
lh7a40xuart_stop_tx
(
port
,
0
);
lh7a40xuart_stop_tx
(
port
);
return
;
}
...
...
@@ -229,7 +229,7 @@ static void lh7a40xuart_tx_chars (struct uart_port* port)
uart_write_wakeup
(
port
);
if
(
uart_circ_empty
(
xmit
))
lh7a40xuart_stop_tx
(
port
,
0
);
lh7a40xuart_stop_tx
(
port
);
}
static
void
lh7a40xuart_modem_status
(
struct
uart_port
*
port
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment