diff options
Diffstat (limited to 'include/linux/fs_enet_pd.h')
-rw-r--r-- | include/linux/fs_enet_pd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h index 543cd3cd9e77..9bc045b8c478 100644 --- a/include/linux/fs_enet_pd.h +++ b/include/linux/fs_enet_pd.h | |||
@@ -16,6 +16,7 @@ | |||
16 | #ifndef FS_ENET_PD_H | 16 | #ifndef FS_ENET_PD_H |
17 | #define FS_ENET_PD_H | 17 | #define FS_ENET_PD_H |
18 | 18 | ||
19 | #include <linux/string.h> | ||
19 | #include <asm/types.h> | 20 | #include <asm/types.h> |
20 | 21 | ||
21 | #define FS_ENET_NAME "fs_enet" | 22 | #define FS_ENET_NAME "fs_enet" |
@@ -119,6 +120,7 @@ struct fs_platform_info { | |||
119 | 120 | ||
120 | u32 cp_page; /* CPM page */ | 121 | u32 cp_page; /* CPM page */ |
121 | u32 cp_block; /* CPM sblock */ | 122 | u32 cp_block; /* CPM sblock */ |
123 | u32 cp_command; /* CPM page/sblock/mcn */ | ||
122 | 124 | ||
123 | u32 clk_trx; /* some stuff for pins & mux configuration*/ | 125 | u32 clk_trx; /* some stuff for pins & mux configuration*/ |
124 | u32 clk_rx; | 126 | u32 clk_rx; |
@@ -133,7 +135,11 @@ struct fs_platform_info { | |||
133 | u32 device_flags; | 135 | u32 device_flags; |
134 | 136 | ||
135 | int phy_addr; /* the phy address (-1 no phy) */ | 137 | int phy_addr; /* the phy address (-1 no phy) */ |
138 | #ifdef CONFIG_PPC_CPM_NEW_BINDING | ||
139 | char bus_id[16]; | ||
140 | #else | ||
136 | const char* bus_id; | 141 | const char* bus_id; |
142 | #endif | ||
137 | int phy_irq; /* the phy irq (if it exists) */ | 143 | int phy_irq; /* the phy irq (if it exists) */ |
138 | 144 | ||
139 | const struct fs_mii_bus_info *bus_info; | 145 | const struct fs_mii_bus_info *bus_info; |