summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/stmmac.h
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2010-04-13 20:21:15 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-14 04:49:52 -0700
commit3d90c508dc6737d5b241a1f8807e1287f015f7f8 (patch)
tree5bef76067d6c0c385827425ba9edd4659fd12423 /drivers/net/stmmac/stmmac.h
parente326e8503dfc73e4f79d488a78ee3d7cde10081f (diff)
downloadblackbird-op-linux-3d90c508dc6737d5b241a1f8807e1287f015f7f8.tar.gz
blackbird-op-linux-3d90c508dc6737d5b241a1f8807e1287f015f7f8.zip
stmmac: get the descriptor structure from platform
Output for chip that uses the Enhanced descriptors: [snip] STMMAC driver: platform registration... done! DWMAC1000 - user ID: 0x10, Synopsys ID: 0x33 Enhanced descriptor structure no valid MAC address;please, use ifconfig or nwhwconfig! eth0 - (dev. name: stmmaceth - id: 0, IRQ #134 IO base addr: 0xfd110000) STMMAC MII Bus: probed [snip] Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/stmmac.h')
-rw-r--r--drivers/net/stmmac/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/stmmac/stmmac.h b/drivers/net/stmmac/stmmac.h
index 55b9acae82a1..0d776bc23143 100644
--- a/drivers/net/stmmac/stmmac.h
+++ b/drivers/net/stmmac/stmmac.h
@@ -93,6 +93,7 @@ struct stmmac_priv {
#ifdef STMMAC_VLAN_TAG_USED
struct vlan_group *vlgrp;
#endif
+ int enh_desc;
};
#ifdef CONFIG_STM_DRIVERS
OpenPOWER on IntegriCloud