summaryrefslogtreecommitdiffstats
path: root/drivers/net/designware.h
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-01-13 16:59:37 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2016-01-28 12:32:44 -0600
commit6968ec921634b69f700f3e4ccdc35527160ac77a (patch)
treeae8323d4449222f52c4716086a9b3b87078cb3a9 /drivers/net/designware.h
parentb884c3fe6392cd1f578db9350eb7c49eda94ff53 (diff)
downloadtalos-obmc-uboot-6968ec921634b69f700f3e4ccdc35527160ac77a.tar.gz
talos-obmc-uboot-6968ec921634b69f700f3e4ccdc35527160ac77a.zip
net/designware: add support of max-speed device tree property
This property allows to specify fastest connection mode supported by the MAC (as opposed to features of the phy). There are situations when phy may handle faster modes than the MAC (or even it's particular implementation or even due to CPU being too slow). This property is a standard one in Linux kernel these days and some boards do already use it in their device tree descriptions. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Sonic Zhang <sonic.zhang@analog.com> cc: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/designware.h')
-rw-r--r--drivers/net/designware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/designware.h b/drivers/net/designware.h
index 4b9ec39cc8..ed6344cc28 100644
--- a/drivers/net/designware.h
+++ b/drivers/net/designware.h
@@ -223,6 +223,7 @@ struct dw_eth_dev {
char rxbuffs[RX_TOTAL_BUFSIZE] __aligned(ARCH_DMA_MINALIGN);
u32 interface;
+ u32 max_speed;
u32 tx_currdescnum;
u32 rx_currdescnum;
OpenPOWER on IntegriCloud