Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
24c83d45
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
24c83d45
编写于
9月 07, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/home/rmk/linux-2.6-serial
上级
1077682b
66172d25
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
13 addition
and
13 deletion
+13
-13
drivers/misc/Kconfig
drivers/misc/Kconfig
+1
-1
drivers/misc/ibmasm/uart.c
drivers/misc/ibmasm/uart.c
+10
-10
drivers/serial/serial_lh7a40x.c
drivers/serial/serial_lh7a40x.c
+2
-2
未找到文件。
drivers/misc/Kconfig
浏览文件 @
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.
...
...
drivers/misc/ibmasm/uart.c
浏览文件 @
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
(
serial
));
serial
.
irq
=
sp
->
irq
;
serial
.
baud_base
=
3686400
/
16
;
serial
.
flags
=
UPF_AUTOPROBE
|
UPF_SHARE_IRQ
;
serial
.
io_type
=
UPIO_MEM
;
serial
.
iomem_
base
=
iomem_base
;
memset
(
&
uport
,
0
,
sizeof
(
struct
uart_port
));
uport
.
irq
=
sp
->
irq
;
uport
.
uartclk
=
3686400
;
uport
.
flags
=
UPF_AUTOPROBE
|
UPF_SHARE_IRQ
;
uport
.
iotype
=
UPIO_MEM
;
uport
.
mem
base
=
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
);
}
drivers/serial/serial_lh7a40x.c
浏览文件 @
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
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录