summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/stmmac.h
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2010-04-13 22:21:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-14 13:49:51 +0200
commite326e8503dfc73e4f79d488a78ee3d7cde10081f (patch)
tree04f0c29dfd48edf2de175eec64b24c7164e88e86 /drivers/net/stmmac/stmmac.h
parentstmmac: fix Transmit FIFO flush operation (diff)
downloadlinux-e326e8503dfc73e4f79d488a78ee3d7cde10081f.tar.xz
linux-e326e8503dfc73e4f79d488a78ee3d7cde10081f.zip
stmmac: new descriptor field for the driver's platform
The new enh_desc is used for selecting the enhanced descriptors structure. There are several scenarios; some chips (mac10/100 or gmac) want to use the enhanced descriptors; others want the normal ones. For example, on ST platforms: MAC10/100 uses the normal desc structure and the GMAC uses the enhanced one. It can be useful to get this information from the platform. This could also be decided at run-time looking at the chip's ID number; but it could happen that chips with the same ID want to use different descriptor structure. 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')
0 files changed, 0 insertions, 0 deletions