diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-10-21 14:21:55 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-10-21 14:21:55 -0400 |
commit | 7940a34b2e1e0485211a17d8c3ab4da1ea3e1330 (patch) | |
tree | fe08ba701cbf23ae44a16d3b7afa521fce943a8a /include/linux/davinci_emac.h | |
parent | 6451d7783ba5ff24eb1a544eaa6665b890f30466 (diff) | |
parent | 8939b3504dc35224cb9c88e5af925b22ea9eee71 (diff) |
Merge branch 'davinci-next' into davinci-for-linus
Conflicts:
arch/arm/mach-davinci/board-da830-evm.c
arch/arm/mach-davinci/board-da850-evm.c
Diffstat (limited to 'include/linux/davinci_emac.h')
-rw-r--r-- | include/linux/davinci_emac.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/include/linux/davinci_emac.h b/include/linux/davinci_emac.h index 7c930dba477c..5dd428532f79 100644 --- a/include/linux/davinci_emac.h +++ b/include/linux/davinci_emac.h | |||
@@ -14,16 +14,26 @@ | |||
14 | #include <linux/if_ether.h> | 14 | #include <linux/if_ether.h> |
15 | #include <linux/memory.h> | 15 | #include <linux/memory.h> |
16 | 16 | ||
17 | struct mdio_platform_data { | ||
18 | unsigned long bus_freq; | ||
19 | }; | ||
20 | |||
17 | struct emac_platform_data { | 21 | struct emac_platform_data { |
18 | char mac_addr[ETH_ALEN]; | 22 | char mac_addr[ETH_ALEN]; |
19 | u32 ctrl_reg_offset; | 23 | u32 ctrl_reg_offset; |
20 | u32 ctrl_mod_reg_offset; | 24 | u32 ctrl_mod_reg_offset; |
21 | u32 ctrl_ram_offset; | 25 | u32 ctrl_ram_offset; |
22 | u32 hw_ram_addr; | 26 | u32 hw_ram_addr; |
23 | u32 mdio_reg_offset; | ||
24 | u32 ctrl_ram_size; | 27 | u32 ctrl_ram_size; |
25 | u32 phy_mask; | 28 | |
26 | u32 mdio_max_freq; | 29 | /* |
30 | * phy_id can be one of the following: | ||
31 | * - NULL : use the first phy on the bus, | ||
32 | * - "" : force to 100/full, no mdio control | ||
33 | * - "<bus>:<addr>" : use the specified bus and phy | ||
34 | */ | ||
35 | const char *phy_id; | ||
36 | |||
27 | u8 rmii_en; | 37 | u8 rmii_en; |
28 | u8 version; | 38 | u8 version; |
29 | void (*interrupt_enable) (void); | 39 | void (*interrupt_enable) (void); |