etherdev_reg_write(CURR, ETH_RX_PAGE_START + 1);
// Set physical address
- etherdev_reg_write(PAR0, uip_buf[0]);
- etherdev_reg_write(PAR1, uip_buf[0]);
- etherdev_reg_write(PAR2, uip_buf[0]);
- etherdev_reg_write(PAR3, uip_buf[0]);
- etherdev_reg_write(PAR4, uip_buf[0]);
- etherdev_reg_write(PAR5, uip_buf[0]);
+ etherdev_reg_write(PAR0, uip_buf[6]);
+ etherdev_reg_write(PAR1, uip_buf[7]);
+ etherdev_reg_write(PAR2, uip_buf[8]);
+ etherdev_reg_write(PAR3, uip_buf[9]);
+ etherdev_reg_write(PAR4, uip_buf[10]);
+ etherdev_reg_write(PAR5, uip_buf[11]);
// Select RTL8019AS register page 0 and abort DMA operation.
etherdev_reg_write(CR, RD2 | STP);