diff options
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index 632ff7c03280..9529e49b0385 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h | |||
@@ -26,19 +26,25 @@ | |||
26 | #ifndef __STMMAC_PLATFORM_DATA | 26 | #ifndef __STMMAC_PLATFORM_DATA |
27 | #define __STMMAC_PLATFORM_DATA | 27 | #define __STMMAC_PLATFORM_DATA |
28 | 28 | ||
29 | /* platfrom data for platfrom device structure's platfrom_data field */ | 29 | #include <linux/platform_device.h> |
30 | |||
31 | /* platform data for platform device structure's platform_data field */ | ||
30 | 32 | ||
31 | /* Private data for the STM on-board ethernet driver */ | 33 | /* Private data for the STM on-board ethernet driver */ |
32 | struct plat_stmmacenet_data { | 34 | struct plat_stmmacenet_data { |
33 | int bus_id; | 35 | int bus_id; |
34 | int pbl; | 36 | int pbl; |
37 | int clk_csr; | ||
35 | int has_gmac; | 38 | int has_gmac; |
36 | int enh_desc; | 39 | int enh_desc; |
40 | int tx_coe; | ||
41 | int bugged_jumbo; | ||
42 | int pmt; | ||
37 | void (*fix_mac_speed)(void *priv, unsigned int speed); | 43 | void (*fix_mac_speed)(void *priv, unsigned int speed); |
38 | void (*bus_setup)(unsigned long ioaddr); | 44 | void (*bus_setup)(void __iomem *ioaddr); |
39 | #ifdef CONFIG_STM_DRIVERS | 45 | int (*init)(struct platform_device *pdev); |
40 | struct stm_pad_config *pad_config; | 46 | void (*exit)(struct platform_device *pdev); |
41 | #endif | 47 | void *custom_cfg; |
42 | void *bsp_priv; | 48 | void *bsp_priv; |
43 | }; | 49 | }; |
44 | 50 | ||