Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
0d844065
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0d844065
编写于
6月 12, 2008
作者:
K
Kumar Gala
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cpm_uart: fix whitespace issues
Signed-off-by:
N
Kumar Gala
<
galak@kernel.crashing.org
>
上级
aba11fc5
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
12 deletion
+12
-12
drivers/serial/cpm_uart/cpm_uart.h
drivers/serial/cpm_uart/cpm_uart.h
+4
-4
drivers/serial/cpm_uart/cpm_uart_core.c
drivers/serial/cpm_uart/cpm_uart_core.c
+2
-2
drivers/serial/cpm_uart/cpm_uart_cpm1.c
drivers/serial/cpm_uart/cpm_uart_cpm1.c
+1
-1
drivers/serial/cpm_uart/cpm_uart_cpm1.h
drivers/serial/cpm_uart/cpm_uart_cpm1.h
+1
-1
drivers/serial/cpm_uart/cpm_uart_cpm2.c
drivers/serial/cpm_uart/cpm_uart_cpm2.c
+3
-3
drivers/serial/cpm_uart/cpm_uart_cpm2.h
drivers/serial/cpm_uart/cpm_uart_cpm2.h
+1
-1
未找到文件。
drivers/serial/cpm_uart/cpm_uart.h
浏览文件 @
0d844065
...
...
@@ -6,7 +6,7 @@
* Copyright (C) 2004 Freescale Semiconductor, Inc.
*
* 2006 (c) MontaVista Software, Inc.
*
Vitaly Bordug <vbordug@ru.mvista.com>
* Vitaly Bordug <vbordug@ru.mvista.com>
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
...
...
@@ -28,7 +28,7 @@
#define SERIAL_CPM_MAJOR 204
#define SERIAL_CPM_MINOR 46
#define IS_SMC(pinfo)
(pinfo->flags & FLAG_SMC)
#define IS_SMC(pinfo) (pinfo->flags & FLAG_SMC)
#define IS_DISCARDING(pinfo) (pinfo->flags & FLAG_DISCARDING)
#define FLAG_DISCARDING 0x00000004
/* when set, don't discard */
#define FLAG_SMC 0x00000002
...
...
@@ -70,7 +70,7 @@ struct uart_cpm_port {
void
(
*
set_lineif
)(
struct
uart_cpm_port
*
);
u8
brg
;
uint
dp_addr
;
void
*
mem_addr
;
void
*
mem_addr
;
dma_addr_t
dma_addr
;
u32
mem_size
;
/* helpers */
...
...
@@ -79,7 +79,7 @@ struct uart_cpm_port {
/* Keep track of 'odd' SMC2 wirings */
int
is_portb
;
/* wait on close if needed */
int
wait_closing
;
int
wait_closing
;
/* value to combine with opcode to form cpm command */
u32
command
;
};
...
...
drivers/serial/cpm_uart/cpm_uart_core.c
浏览文件 @
0d844065
...
...
@@ -13,7 +13,7 @@
* Copyright (C) 2004, 2007 Freescale Semiconductor, Inc.
* (C) 2004 Intracom, S.A.
* (C) 2005-2006 MontaVista Software, Inc.
*
Vitaly Bordug <vbordug@ru.mvista.com>
* Vitaly Bordug <vbordug@ru.mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -1305,7 +1305,7 @@ static int __init cpm_uart_console_setup(struct console *co, char *options)
pdata
=
pdev
->
dev
.
platform_data
;
if
(
pdata
)
if
(
pdata
->
init_ioports
)
pdata
->
init_ioports
(
pdata
);
pdata
->
init_ioports
(
pdata
);
cpm_uart_drv_get_platform_data
(
pdev
,
1
);
}
...
...
drivers/serial/cpm_uart/cpm_uart_cpm1.c
浏览文件 @
0d844065
...
...
@@ -9,7 +9,7 @@
* Copyright (C) 2004 Freescale Semiconductor, Inc.
* (C) 2004 Intracom, S.A.
* (C) 2006 MontaVista Software, Inc.
*
Vitaly Bordug <vbordug@ru.mvista.com>
* Vitaly Bordug <vbordug@ru.mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
drivers/serial/cpm_uart/cpm_uart_cpm1.h
浏览文件 @
0d844065
...
...
@@ -2,7 +2,7 @@
* linux/drivers/serial/cpm_uart/cpm_uart_cpm1.h
*
* Driver for CPM (SCC/SMC) serial ports
*
*
* definitions for cpm1
*
*/
...
...
drivers/serial/cpm_uart/cpm_uart_cpm2.c
浏览文件 @
0d844065
...
...
@@ -5,11 +5,11 @@
*
* Maintainer: Kumar Gala (galak@kernel.crashing.org) (CPM2)
* Pantelis Antoniou (panto@intracom.gr) (CPM1)
*
*
* Copyright (C) 2004 Freescale Semiconductor, Inc.
* (C) 2004 Intracom, S.A.
* (C) 2006 MontaVista Software, Inc.
*
Vitaly Bordug <vbordug@ru.mvista.com>
* Vitaly Bordug <vbordug@ru.mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -273,7 +273,7 @@ void scc4_lineif(struct uart_cpm_port *pinfo)
#endif
/*
* Allocate DP-Ram and memory buffers. We need to allocate a transmit and
* Allocate DP-Ram and memory buffers. We need to allocate a transmit and
* receive buffer descriptors from dual port ram, and a character
* buffer area from host mem. If we are allocating for the console we need
* to do it from bootmem
...
...
drivers/serial/cpm_uart/cpm_uart_cpm2.h
浏览文件 @
0d844065
...
...
@@ -2,7 +2,7 @@
* linux/drivers/serial/cpm_uart/cpm_uart_cpm2.h
*
* Driver for CPM (SCC/SMC) serial ports
*
*
* definitions for cpm2
*
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录