summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2017-05-31 10:18:36 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-01 21:53:04 +0300
commit9f93ac8d4085f718d3c7c5fedcb98dbdd2287648 (patch)
tree603444cf6dc165a2f1e5f574b5f5346a56289f04 /include
parentce5a4ff3c5058a1c934d3416385948a499a62e6f (diff)
downloadlinux-9f93ac8d4085f718d3c7c5fedcb98dbdd2287648.tar.xz
net-next: stmmac: Add dwmac-sun8i
The dwmac-sun8i is a heavy hacked version of stmmac hardware by allwinner. In fact the only common part is the descriptor management and the first register function. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 8bb550bca96d..108739ff9223 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -186,6 +186,7 @@ struct plat_stmmacenet_data {
struct reset_control *stmmac_rst;
struct stmmac_axi *axi;
int has_gmac4;
+ bool has_sun8i;
bool tso_en;
int mac_port_sel_speed;
bool en_tx_lpi_clockgating;