diff options
Diffstat (limited to 'include/linux/fs_enet_pd.h')
-rw-r--r-- | include/linux/fs_enet_pd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h index 51b793466ff3..343d82a54468 100644 --- a/include/linux/fs_enet_pd.h +++ b/include/linux/fs_enet_pd.h | |||
@@ -18,6 +18,7 @@ | |||
18 | 18 | ||
19 | #include <linux/string.h> | 19 | #include <linux/string.h> |
20 | #include <linux/of_mdio.h> | 20 | #include <linux/of_mdio.h> |
21 | #include <linux/if_ether.h> | ||
21 | #include <asm/types.h> | 22 | #include <asm/types.h> |
22 | 23 | ||
23 | #define FS_ENET_NAME "fs_enet" | 24 | #define FS_ENET_NAME "fs_enet" |
@@ -135,7 +136,7 @@ struct fs_platform_info { | |||
135 | const struct fs_mii_bus_info *bus_info; | 136 | const struct fs_mii_bus_info *bus_info; |
136 | 137 | ||
137 | int rx_ring, tx_ring; /* number of buffers on rx */ | 138 | int rx_ring, tx_ring; /* number of buffers on rx */ |
138 | __u8 macaddr[6]; /* mac address */ | 139 | __u8 macaddr[ETH_ALEN]; /* mac address */ |
139 | int rx_copybreak; /* limit we copy small frames */ | 140 | int rx_copybreak; /* limit we copy small frames */ |
140 | int use_napi; /* use NAPI */ | 141 | int use_napi; /* use NAPI */ |
141 | int napi_weight; /* NAPI weight */ | 142 | int napi_weight; /* NAPI weight */ |