am243x_eth_driver.h
const NicDriver am243xEthPort1Driver
AM243x Ethernet MAC driver (port1)
Definition: am243x_eth_driver.c:71
error_t am243xEthAddVlanAddrEntry(uint_t port, uint_t vlanId, MacAddr *macAddr)
Add a VLAN/address entry in the ALE table.
Definition: am243x_eth_driver.c:1405
void am243xEthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: am243x_eth_driver.c:581
void am243xEthReadEntry(uint_t index, Am64xAleEntry *entry)
Read an ALE table entry.
Definition: am243x_eth_driver.c:1196
error_t am243xEthInitPort2(NetInterface *interface)
AM243x Ethernet MAC initialization (port 2)
Definition: am243x_eth_driver.c:226
void am243xEthWriteEntry(uint_t index, const Am64xAleEntry *entry)
Write an ALE table entry.
Definition: am243x_eth_driver.c:1173
error_t am243xEthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: am243x_eth_driver.c:844
const NicDriver am243xEthPort2Driver
AM243x Ethernet MAC driver (port2)
Definition: am243x_eth_driver.c:96
error_t am243xEthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: am243x_eth_driver.c:998
uint_t am243xEthFindVlanEntry(uint_t vlanId)
Search the ALE table for the specified VLAN entry.
Definition: am243x_eth_driver.c:1252
error_t am243xEthAddVlanEntry(uint_t port, uint_t vlanId)
Add a VLAN entry in the ALE table.
Definition: am243x_eth_driver.c:1345
error_t am243xEthInitPort1(NetInterface *interface)
AM243x Ethernet MAC initialization (port 1)
Definition: am243x_eth_driver.c:123
void am243xEthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: am243x_eth_driver.c:687
void am243xEthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: am243x_eth_driver.c:1068
uint16_t am243xEthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: am243x_eth_driver.c:1119
Network interface controller abstraction layer.
void am243xEthEventHandler(NetInterface *interface)
AM243x Ethernet MAC event handler.
Definition: am243x_eth_driver.c:759
error_t am243xEthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: am243x_eth_driver.c:940
uint_t am243xEthFindVlanAddrEntry(uint_t vlanId, MacAddr *macAddr)
Search the ALE table for the specified VLAN/address entry.
Definition: am243x_eth_driver.c:1294
void am243xEthRxIrqHandler(void *arg)
AM243x Ethernet MAC receive interrupt.
Definition: am243x_eth_driver.c:737
void am243xEthTick(NetInterface *interface)
AM243x Ethernet MAC timer handler.
Definition: am243x_eth_driver.c:662
error_t am243xEthDeleteVlanAddrEntry(uint_t port, uint_t vlanId, MacAddr *macAddr)
Remove a VLAN/address entry from the ALE table.
Definition: am243x_eth_driver.c:1476
uint_t am243xEthFindFreeEntry(void)
Find a free entry in the ALE table.
Definition: am243x_eth_driver.c:1218
void am243xEthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: am243x_eth_driver.c:712
void am243xEthInitInstance(NetInterface *interface)
Initialize CPSW instance.
Definition: am243x_eth_driver.c:309