From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masami Komiya Date: Fri, 29 Jul 2005 18:11:51 +0900 Subject: [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems In-Reply-To: <20050727153938.84795.qmail@web50008.mail.yahoo.com> References: <20050727153938.84795.qmail@web50008.mail.yahoo.com> Message-ID: <42E9F2D7.1010708@sonare.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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; }