Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
babf68de
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
babf68de
编写于
9月 05, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/home/rmk/linux-2.6-serial
上级
e766f1cc
9b4e3b13
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
15 addition
and
31 deletion
+15
-31
Documentation/feature-removal-schedule.txt
Documentation/feature-removal-schedule.txt
+0
-10
drivers/char/moxa.c
drivers/char/moxa.c
+1
-1
drivers/serial/crisv10.c
drivers/serial/crisv10.c
+0
-14
drivers/serial/serial_core.c
drivers/serial/serial_core.c
+14
-6
未找到文件。
Documentation/feature-removal-schedule.txt
浏览文件 @
babf68de
...
...
@@ -102,16 +102,6 @@ Who: Jody McIntyre <scjody@steamballoon.com>
---------------------------
What: register_serial/unregister_serial
When: September 2005
Why: This interface does not allow serial ports to be registered against
a struct device, and as such does not allow correct power management
of such ports. 8250-based ports should use serial8250_register_port
and serial8250_unregister_port, or platform devices instead.
Who: Russell King <rmk@arm.linux.org.uk>
---------------------------
What: i2c sysfs name change: in1_ref, vid deprecated in favour of cpu0_vid
When: November 2005
Files: drivers/i2c/chips/adm1025.c, drivers/i2c/chips/adm1026.c
...
...
drivers/char/moxa.c
浏览文件 @
babf68de
...
...
@@ -339,7 +339,7 @@ static int __init moxa_init(void)
init_MUTEX
(
&
moxaBuffSem
);
moxaDriver
->
owner
=
THIS_MODULE
;
moxaDriver
->
name
=
"tty
a
"
;
moxaDriver
->
name
=
"tty
MX
"
;
moxaDriver
->
devfs_name
=
"tts/a"
;
moxaDriver
->
major
=
ttymajor
;
moxaDriver
->
minor_start
=
0
;
...
...
drivers/serial/crisv10.c
浏览文件 @
babf68de
...
...
@@ -5041,17 +5041,3 @@ rs_init(void)
/* this makes sure that rs_init is called during kernel boot */
module_init
(
rs_init
);
/*
* register_serial and unregister_serial allows for serial ports to be
* configured at run-time, to support PCMCIA modems.
*/
int
register_serial
(
struct
serial_struct
*
req
)
{
return
-
1
;
}
void
unregister_serial
(
int
line
)
{
}
drivers/serial/serial_core.c
浏览文件 @
babf68de
...
...
@@ -1947,21 +1947,29 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *port)
static
inline
void
uart_report_port
(
struct
uart_driver
*
drv
,
struct
uart_port
*
port
)
{
printk
(
"%s%d"
,
drv
->
dev_name
,
port
->
line
)
;
printk
(
" at "
);
char
address
[
64
]
;
switch
(
port
->
iotype
)
{
case
UPIO_PORT
:
printk
(
"I/O 0x%x"
,
port
->
iobase
);
snprintf
(
address
,
sizeof
(
address
),
"I/O 0x%x"
,
port
->
iobase
);
break
;
case
UPIO_HUB6
:
printk
(
"I/O 0x%x offset 0x%x"
,
port
->
iobase
,
port
->
hub6
);
snprintf
(
address
,
sizeof
(
address
),
"I/O 0x%x offset 0x%x"
,
port
->
iobase
,
port
->
hub6
);
break
;
case
UPIO_MEM
:
case
UPIO_MEM32
:
printk
(
"MMIO 0x%lx"
,
port
->
mapbase
);
snprintf
(
address
,
sizeof
(
address
),
"MMIO 0x%lx"
,
port
->
mapbase
);
break
;
default:
strlcpy
(
address
,
"*unknown*"
,
sizeof
(
address
));
break
;
}
printk
(
" (irq = %d) is a %s
\n
"
,
port
->
irq
,
uart_type
(
port
));
printk
(
KERN_INFO
"%s%d at %s (irq = %d) is a %s
\n
"
,
drv
->
dev_name
,
port
->
line
,
address
,
port
->
irq
,
uart_type
(
port
));
}
static
void
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录