From: Leandro Lucarella Date: Mon, 5 Dec 2005 21:06:51 +0000 (+0000) Subject: Ooops! Bugfix. X-Git-Tag: 0.1-recibe-matriz-raw-por-udp~30 X-Git-Url: https://git.llucax.com/z.facultad/66.09/etherled.git/commitdiff_plain/0a7da39b31f2be3d63b43a489047de806da8e696 Ooops! Bugfix. --- diff --git a/pruebas/keil/red_test_anda/etherdev.c b/pruebas/keil/red_test_anda/etherdev.c index d3b1a5a..44c305b 100644 --- a/pruebas/keil/red_test_anda/etherdev.c +++ b/pruebas/keil/red_test_anda/etherdev.c @@ -189,12 +189,12 @@ bit etherdev_init(void) 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);