From: Wolfgang Denk Date: Sat, 22 Jul 2006 20:44:18 +0200 Subject: [U-Boot-Users] MIPS: AMD Alchemy au1x00 ethernet problems In-Reply-To: Your message of "Fri, 29 Jul 2005 18:11:51 +0900." <42E9F2D7.1010708@sonare.it> Message-ID: <20060722184418.8750E352625@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Masami, in message <42E9F2D7.1010708@sonare.it> you wrote: > > I have the same problem on dbau1500 evaluation board. > The following patch may improve little:-) ... > 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; > + Do you think this patch (resp. an equivalent one - the code has changed since) is still required? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Uncontrolled power will turn even saints into savages. And we can all be counted on to live down to our lowest impulses. -- Parmen, "Plato's Stepchildren", stardate 5784.3