aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs_enet_pd.h
diff options
context:
space:
mode:
authorVitaly Bordug <vbordug@ru.mvista.com>2006-09-21 14:38:05 -0400
committerVitaly Bordug <vbordug@ru.mvista.com>2006-09-21 14:38:05 -0400
commitd3465c921f79cfef0a4a8ceeeef9a3721bbbb57d (patch)
tree73d602a02efd3f358990dcfa9231131e69318d3b /include/linux/fs_enet_pd.h
parentfc8e50e349aa722d9f97ed9ba30e324ede8fa408 (diff)
POWERPC: overhaul with cpm2_map mechanism
Incorporating the new way of cpm2 immr access, introduced in the previous patch, into CPM2 peripheral devices (fs_enet and cpm_uart). Both ppc and powerpc approved working( real actions taken in powerpc only, ppc just has a wrapper to keep init stuff consistent). Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Diffstat (limited to 'include/linux/fs_enet_pd.h')
-rw-r--r--include/linux/fs_enet_pd.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h
index 74ed35a00a94..932223550aca 100644
--- a/include/linux/fs_enet_pd.h
+++ b/include/linux/fs_enet_pd.h
@@ -87,18 +87,20 @@ struct fs_mii_bb_platform_info {
87}; 87};
88 88
89struct fs_platform_info { 89struct fs_platform_info {
90 90
91 void(*init_ioports)(void); 91 void(*init_ioports)(struct fs_platform_info *);
92 /* device specific information */ 92 /* device specific information */
93 int fs_no; /* controller index */ 93 int fs_no; /* controller index */
94 94
95 u32 cp_page; /* CPM page */ 95 u32 cp_page; /* CPM page */
96 u32 cp_block; /* CPM sblock */ 96 u32 cp_block; /* CPM sblock */
97 97
98 u32 clk_trx; /* some stuff for pins & mux configuration*/ 98 u32 clk_trx; /* some stuff for pins & mux configuration*/
99 u32 clk_rx;
100 u32 clk_tx;
99 u32 clk_route; 101 u32 clk_route;
100 u32 clk_mask; 102 u32 clk_mask;
101 103
102 u32 mem_offset; 104 u32 mem_offset;
103 u32 dpram_offset; 105 u32 dpram_offset;
104 u32 fcc_regs_c; 106 u32 fcc_regs_c;