lwip: Code cleanup, removing hard coded IDs for axiethernet adapter
This patch modifies some of the axiethernet adapter files as part of code cleanup, removal of hard coded ids, removal of redundant code, making some of the functions as static (as appropriate) and making changes to follow lwip coding guidelines. Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
d61a568de4
commit
7c40d4e501
2 changed files with 358 additions and 603 deletions
|
@ -90,14 +90,11 @@ typedef struct {
|
|||
|
||||
extern xaxiemacif_s xaxiemacif;
|
||||
|
||||
int is_tx_space_available(xaxiemacif_s *emac);
|
||||
|
||||
s32_t is_tx_space_available(xaxiemacif_s *emac);
|
||||
s32_t process_sent_bds(XAxiDma_BdRing *txring);
|
||||
/* xaxiemacif_dma.c */
|
||||
#ifndef XLWIP_CONFIG_INCLUDE_AXI_ETHERNET_FIFO
|
||||
XStatus init_axi_dma(struct xemac_s *xemac);
|
||||
int process_sent_bds(XAxiDma_BdRing *txring);
|
||||
|
||||
void axidma_send_handler(void *arg);
|
||||
XStatus axidma_sgsend(xaxiemacif_s *xaxiemacif, struct pbuf *p);
|
||||
#endif
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue