path: root/include
diff options
authorJoel Stanley <>2016-06-07 13:09:38 -0500
committerJoel Stanley <>2016-07-27 15:44:01 +0930
commit8dc547ba50e3ee371bd9196843f716387f29d675 (patch)
tree0e283f1729c756a51759e4e7dde0a4553c080d18 /include
parent133b84758b91db4dab46c2ac97f26b8ab38115a6 (diff)
drivers/net: Add Aspeed nic driver
This is an alternate driver for the ftgmac100 hardware found in the Aspeed BMCs. It contains support for NC-SI that is lacking in the existing ftgmac100 driver. The code comes from the u-boot tree used by OpenBMC, which has origins in the Facebook OpenBMC project. In addition the following fixes were made: - Port new release - Clean up hw init - Remove scratch register writes - Fix RX buffer size - Make rx fifo poll for data (was: Fix unreliable networking) - Create aspeed_write_hwaddr from set_mac_address - Do not start hardware in initialize - Do not fill in a random MAC address - Start mac after ring buffers are initialized Signed-off-by: Joel Stanley <> Signed-off-by: Cédric Le Goater <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 7a211bc609..bf5a456c26 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -82,6 +82,7 @@ int uli526x_initialize(bd_t *bis);
int armada100_fec_register(unsigned long base_addr);
int xilinx_ll_temac_eth_init(bd_t *bis, unsigned long base_addr, int flags,
unsigned long ctrl_addr);
+int aspeednic_initialize(bd_t *bis);
* As long as the Xilinx xps_ll_temac ethernet driver has not its own interface
* exported by a public hader file, we need a global definition at this point.
OpenPOWER on IntegriCloud