Root/
1 | /* |
2 | * include/linux/mg_disk.c |
3 | * |
4 | * Private data for mflash platform driver |
5 | * |
6 | * (c) 2008 mGine Co.,LTD |
7 | * (c) 2008 unsik Kim <donari75@gmail.com> |
8 | * |
9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License version 2 as |
11 | * published by the Free Software Foundation. |
12 | */ |
13 | |
14 | #ifndef __MG_DISK_H__ |
15 | #define __MG_DISK_H__ |
16 | |
17 | /* name for platform device */ |
18 | #define MG_DEV_NAME "mg_disk" |
19 | |
20 | /* names of GPIO resource */ |
21 | #define MG_RST_PIN "mg_rst" |
22 | /* except MG_BOOT_DEV, reset-out pin should be assigned */ |
23 | #define MG_RSTOUT_PIN "mg_rstout" |
24 | |
25 | /* device attribution */ |
26 | /* use mflash as boot device */ |
27 | #define MG_BOOT_DEV (1 << 0) |
28 | /* use mflash as storage device */ |
29 | #define MG_STORAGE_DEV (1 << 1) |
30 | /* same as MG_STORAGE_DEV, but bootloader already done reset sequence */ |
31 | #define MG_STORAGE_DEV_SKIP_RST (1 << 2) |
32 | |
33 | /* private driver data */ |
34 | struct mg_drv_data { |
35 | /* disk resource */ |
36 | u32 use_polling; |
37 | |
38 | /* device attribution */ |
39 | u32 dev_attr; |
40 | |
41 | /* internally used */ |
42 | void *host; |
43 | }; |
44 | |
45 | #endif |
46 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9