summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-03-20 17:12:20 +0800
committerSimon Glass <sjg@chromium.org>2015-03-24 21:22:37 -0600
commit8ee443b8ebb6f533e5f42d8da05600a1996a4dfd (patch)
treeec98bbd2bafef24ed0802e524000434d68a7b464 /include
parentc58ea6cb8c01b4e43e414cdc26bc29ad52284f21 (diff)
downloadtalos-obmc-uboot-8ee443b8ebb6f533e5f42d8da05600a1996a4dfd.tar.gz
talos-obmc-uboot-8ee443b8ebb6f533e5f42d8da05600a1996a4dfd.zip
net: Add Intel Topcliff GMAC driver
Add a new driver for the Gigabit Ethernet MAC found on Intel Topcliff Platform Controller Hub. Tested under 10/100 half/full duplex and 1000 full duplex modes using ping and tftpboot commands. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
-rw-r--r--include/netdev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 90140bd9bb..c69533e9aa 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -69,6 +69,7 @@ int natsemi_initialize(bd_t *bis);
int ne2k_register(void);
int npe_initialize(bd_t *bis);
int ns8382x_initialize(bd_t *bis);
+int pch_gbe_register(bd_t *bis);
int pcnet_initialize(bd_t *bis);
int ppc_4xx_eth_initialize (bd_t *bis);
int rtl8139_initialize(bd_t *bis);
@@ -123,6 +124,9 @@ static inline int pci_eth_init(bd_t *bis)
#ifdef CONFIG_E1000
num += e1000_initialize(bis);
#endif
+#ifdef CONFIG_PCH_GBE
+ num += pch_gbe_register(bis);
+#endif
#ifdef CONFIG_PCNET
num += pcnet_initialize(bis);
#endif
OpenPOWER on IntegriCloud