Root/
1 | /* |
2 | * TI DaVinci EMAC platform support |
3 | * |
4 | * Author: Kevin Hilman, Deep Root Systems, LLC |
5 | * |
6 | * 2007 (c) Deep Root Systems, LLC. This file is licensed under |
7 | * the terms of the GNU General Public License version 2. This program |
8 | * is licensed "as is" without any warranty of any kind, whether express |
9 | * or implied. |
10 | */ |
11 | #ifndef _LINUX_DAVINCI_EMAC_H |
12 | #define _LINUX_DAVINCI_EMAC_H |
13 | |
14 | #include <linux/if_ether.h> |
15 | #include <linux/memory.h> |
16 | |
17 | struct emac_platform_data { |
18 | char mac_addr[ETH_ALEN]; |
19 | u32 ctrl_reg_offset; |
20 | u32 ctrl_mod_reg_offset; |
21 | u32 ctrl_ram_offset; |
22 | u32 hw_ram_addr; |
23 | u32 mdio_reg_offset; |
24 | u32 ctrl_ram_size; |
25 | u32 phy_mask; |
26 | u32 mdio_max_freq; |
27 | u8 rmii_en; |
28 | u8 version; |
29 | void (*interrupt_enable) (void); |
30 | void (*interrupt_disable) (void); |
31 | }; |
32 | |
33 | enum { |
34 | EMAC_VERSION_1, /* DM644x */ |
35 | EMAC_VERSION_2, /* DM646x */ |
36 | }; |
37 | |
38 | void davinci_get_mac_addr(struct memory_accessor *mem_acc, void *context); |
39 | #endif |
40 |
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