Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
151e7659
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
151e7659
编写于
5月 14, 2006
作者:
D
David Woodhouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MTD] Fix legacy character sets throughout drivers/mtd, include/linux/mtd
Signed-off-by:
N
David Woodhouse
<
dwmw2@infradead.org
>
上级
0f5ae3d2
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
17 addition
and
17 deletion
+17
-17
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0001.c
+1
-1
drivers/mtd/chips/cfi_probe.c
drivers/mtd/chips/cfi_probe.c
+4
-4
drivers/mtd/devices/block2mtd.c
drivers/mtd/devices/block2mtd.c
+1
-1
drivers/mtd/devices/phram.c
drivers/mtd/devices/phram.c
+3
-3
drivers/mtd/maps/cfi_flagadm.c
drivers/mtd/maps/cfi_flagadm.c
+2
-2
drivers/mtd/maps/dbox2-flash.c
drivers/mtd/maps/dbox2-flash.c
+1
-1
drivers/mtd/maps/mtx-1_flash.c
drivers/mtd/maps/mtx-1_flash.c
+1
-1
drivers/mtd/nand/edb7312.c
drivers/mtd/nand/edb7312.c
+1
-1
drivers/mtd/nand/h1910.c
drivers/mtd/nand/h1910.c
+1
-1
drivers/mtd/nand/ts7250.c
drivers/mtd/nand/ts7250.c
+1
-1
include/linux/mtd/mtd.h
include/linux/mtd/mtd.h
+1
-1
未找到文件。
drivers/mtd/chips/cfi_cmdset_0001.c
浏览文件 @
151e7659
...
...
@@ -1475,7 +1475,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
ENABLE_VPP
(
map
);
xip_disable
(
map
,
chip
,
cmd_adr
);
/* 4.8 of the 28FxxxJ3A datasheet says "Any time SR.4 and/or SR.5 is set
/*
§
4.8 of the 28FxxxJ3A datasheet says "Any time SR.4 and/or SR.5 is set
[...], the device will not accept any more Write to Buffer commands".
So we must check here and reset those bits if they're set. Otherwise
we're just pissing in the wind */
...
...
drivers/mtd/chips/cfi_probe.c
浏览文件 @
151e7659
...
...
@@ -349,12 +349,12 @@ static void print_cfi_ident(struct cfi_ident *cfip)
else
printk
(
"No Vpp line
\n
"
);
printk
(
"Typical byte/word write timeout: %d s
\n
"
,
1
<<
cfip
->
WordWriteTimeoutTyp
);
printk
(
"Maximum byte/word write timeout: %d s
\n
"
,
(
1
<<
cfip
->
WordWriteTimeoutMax
)
*
(
1
<<
cfip
->
WordWriteTimeoutTyp
));
printk
(
"Typical byte/word write timeout: %d
µ
s
\n
"
,
1
<<
cfip
->
WordWriteTimeoutTyp
);
printk
(
"Maximum byte/word write timeout: %d
µ
s
\n
"
,
(
1
<<
cfip
->
WordWriteTimeoutMax
)
*
(
1
<<
cfip
->
WordWriteTimeoutTyp
));
if
(
cfip
->
BufWriteTimeoutTyp
||
cfip
->
BufWriteTimeoutMax
)
{
printk
(
"Typical full buffer write timeout: %d s
\n
"
,
1
<<
cfip
->
BufWriteTimeoutTyp
);
printk
(
"Maximum full buffer write timeout: %d s
\n
"
,
(
1
<<
cfip
->
BufWriteTimeoutMax
)
*
(
1
<<
cfip
->
BufWriteTimeoutTyp
));
printk
(
"Typical full buffer write timeout: %d
µ
s
\n
"
,
1
<<
cfip
->
BufWriteTimeoutTyp
);
printk
(
"Maximum full buffer write timeout: %d
µ
s
\n
"
,
(
1
<<
cfip
->
BufWriteTimeoutMax
)
*
(
1
<<
cfip
->
BufWriteTimeoutTyp
));
}
else
printk
(
"Full buffer write not supported
\n
"
);
...
...
drivers/mtd/devices/block2mtd.c
浏览文件 @
151e7659
...
...
@@ -4,7 +4,7 @@
* block2mtd.c - create an mtd from a block device
*
* Copyright (C) 2001,2002 Simon Evans <spse@secret.org.uk>
* Copyright (C) 2004-2006 Jrn Engel <joern@wh.fh-wedel.de>
* Copyright (C) 2004-2006 J
ö
rn Engel <joern@wh.fh-wedel.de>
*
* Licence: GPL
*/
...
...
drivers/mtd/devices/phram.c
浏览文件 @
151e7659
/**
* $Id: phram.c,v 1.16 2005/11/07 11:14:25 gleixner Exp $
*
* Copyright (c) ???? Jochen Schuble <psionic@psionic.de>
* Copyright (c) 2003-2004 Jrn Engel <joern@wh.fh-wedel.de>
* Copyright (c) ???? Jochen Sch
ä
uble <psionic@psionic.de>
* Copyright (c) 2003-2004 J
ö
rn Engel <joern@wh.fh-wedel.de>
*
* Usage:
*
...
...
@@ -300,5 +300,5 @@ module_init(init_phram);
module_exit
(
cleanup_phram
);
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"Jrn Engel <joern@wh.fh-wedel.de>"
);
MODULE_AUTHOR
(
"J
ö
rn Engel <joern@wh.fh-wedel.de>"
);
MODULE_DESCRIPTION
(
"MTD driver for physical RAM"
);
drivers/mtd/maps/cfi_flagadm.c
浏览文件 @
151e7659
/*
* Copyright
2001 Flaga hf. Medical Devices, Kri Dav
sson <kd@flaga.is>
* Copyright
© 2001 Flaga hf. Medical Devices, Kári Davíð
sson <kd@flaga.is>
*
* $Id: cfi_flagadm.c,v 1.15 2005/11/07 11:14:26 gleixner Exp $
*
...
...
@@ -135,5 +135,5 @@ module_exit(cleanup_flagadm);
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"K
ri Dav
sson <kd@flaga.is>"
);
MODULE_AUTHOR
(
"K
ári Davíð
sson <kd@flaga.is>"
);
MODULE_DESCRIPTION
(
"MTD map driver for Flaga digital module"
);
drivers/mtd/maps/dbox2-flash.c
浏览文件 @
151e7659
...
...
@@ -122,5 +122,5 @@ module_exit(cleanup_dbox2_flash);
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"K
ri Dav
sson <kd@flaga.is>, Bastian Blank <waldi@tuxbox.org>, Alexander Wild <wild@te-elektronik.com>"
);
MODULE_AUTHOR
(
"K
ári Davíð
sson <kd@flaga.is>, Bastian Blank <waldi@tuxbox.org>, Alexander Wild <wild@te-elektronik.com>"
);
MODULE_DESCRIPTION
(
"MTD map driver for D-Box 2 board"
);
drivers/mtd/maps/mtx-1_flash.c
浏览文件 @
151e7659
...
...
@@ -4,7 +4,7 @@
* $Id: mtx-1_flash.c,v 1.2 2005/11/07 11:14:27 gleixner Exp $
*
* (C) 2005 Bruno Randolf <bruno.randolf@4g-systems.biz>
* (C) 2005 Jrn Engel <joern@wohnheim.fh-wedel.de>
* (C) 2005 J
ö
rn Engel <joern@wohnheim.fh-wedel.de>
*
*/
...
...
drivers/mtd/nand/edb7312.c
浏览文件 @
151e7659
/*
* drivers/mtd/nand/edb7312.c
*
* Copyright (C) 2002 Marius Grger (mag@sysgo.de)
* Copyright (C) 2002 Marius Gr
ö
ger (mag@sysgo.de)
*
* Derived from drivers/mtd/nand/autcpu12.c
* Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de)
...
...
drivers/mtd/nand/h1910.c
浏览文件 @
151e7659
...
...
@@ -4,7 +4,7 @@
* Copyright (C) 2003 Joshua Wise (joshua@joshuawise.com)
*
* Derived from drivers/mtd/nand/edb7312.c
* Copyright (C) 2002 Marius Grger (mag@sysgo.de)
* Copyright (C) 2002 Marius Gr
ö
ger (mag@sysgo.de)
* Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de)
*
* $Id: h1910.c,v 1.6 2005/11/07 11:14:30 gleixner Exp $
...
...
drivers/mtd/nand/ts7250.c
浏览文件 @
151e7659
...
...
@@ -4,7 +4,7 @@
* Copyright (C) 2004 Technologic Systems (support@embeddedARM.com)
*
* Derived from drivers/mtd/nand/edb7312.c
* Copyright (C) 2004 Marius Grger (mag@sysgo.de)
* Copyright (C) 2004 Marius Gr
ö
ger (mag@sysgo.de)
*
* Derived from drivers/mtd/nand/autcpu12.c
* Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de)
...
...
include/linux/mtd/mtd.h
浏览文件 @
151e7659
...
...
@@ -61,7 +61,7 @@ struct mtd_info {
u_int32_t
flags
;
u_int32_t
size
;
// Total size of the MTD
/* "Major" erase size for the device. Na
v
e users may take this
/* "Major" erase size for the device. Na
ïv
e users may take this
* to be the only erase size available, or may use the more detailed
* information below if they desire
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录