[U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems

Masami Komiya mkomiya at sonare.it
Fri Jul 29 11:11:51 CEST 2005


Dear Geoff,

I have the same problem on dbau1500 evaluation board.
The following patch may improve little:-)

Masami Komiya


diff -ur u-boot-050729/cpu/mips/au1x00_eth.c u-boot-050729-test/cpu/mips/au1x00_eth.c
--- u-boot-050729/cpu/mips/au1x00_eth.c 2005-01-10 07:28:58.000000000 +0900
+++ u-boot-050729-test/cpu/mips/au1x00_eth.c    2005-07-29 18:08:39.000000000 +0900
@@ -172,9 +172,6 @@
                 (volatile mac_fifo_t*)(MAC0_RX_DMA_ADDR+MAC_RX_BUFF0_STATUS);
         int i;

-       next_tx = 0;
-       next_rx = 0;
-
         /* We have to enable clocks before releasing reset */
         *macen = MAC_EN_CLOCK_ENABLE;
         udelay(10);
@@ -233,6 +230,9 @@

         eth_register(dev);

+       next_tx = 0;
+       next_rx = 0;
+
         return 1;
  }





More information about the U-Boot mailing list