From: Nobuhiro Iwamatsu Date: Wed, 11 Jun 2008 20:59:04 +0900 Subject: [U-Boot-Users] [PATCH] net: sh: Renesas SH7763 Ethernet device support In-Reply-To: <484E1D22.3060809@qstreams.com> References: <4848E49C.9020709@renesas.com> <484E1D22.3060809@qstreams.com> Message-ID: <29ab51dc0806110459r44912f53vaa33db2cdcbe064a@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Ben. Thank you for your check. 2008/6/10 Ben Warren : > Hi Nobuhiro, > > Nobuhiro Iwamatsu wrote: >> Renesas SH7763 has 2 channel Ethernet device. >> This is 10/100/1000 Base support. >> But this patch check 10/100 Base only. > Where's the code that has this driver being initialized by net/eth.c? Is > it in another patch or should I just go to bed? Yes , this driver initialize used eth_init. Thank you. > This code has quite a few magic numbers. Considering that you're > submitting a header file too, it's hard to justify not adding mnemonics. > Another magic number that should be a #defined bit mask Thanks. I will rewrite and cleanup soruce code. >> diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h >> new file mode 100644 >> index 0000000..12a4528 >> --- /dev/null >> +++ b/drivers/net/sh_eth.h >> @@ -0,0 +1,195 @@ > Please use the accessors in include/asm-sh/io.h instead of defining your > own. OK. I revise the place that you pointed out and resend it. I thank for your check. Best regards, Nobuhiro