From: Wolfgang Denk Date: Fri, 04 Sep 2009 22:00:30 +0200 Subject: [U-Boot] [RFC][PATCH] Ethernet Support for eNET Board In-Reply-To: <4A990AE7.2080908@gmail.com> References: <4A990AE7.2080908@gmail.com> Message-ID: <20090904200030.1D2CB832E8DE@gemini.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 Graeme Russ, In message <4A990AE7.2080908@gmail.com> you wrote: > OK, after much wailing and gnashing of teeth, I have FINALLY got the > Ethernet chips on my eNET board working. In the end, the critical mod was > in drivers/net/rtl8139.c, line 217 where I needed to change > PCI_BASE_ADDRESS_1 to PCI_BASE_ADDRESS_0 - The big question for me now is > Why? I assume this driver is working for everyone else, and this change > will probably break the driver for everyone else, so now I need to know > what I can do so that Ethernet works on my board WITHOUT modifying rtl8139.c > > I also had to move SC520_PCI_IO_PHYS from 0x1000 to 0x2000 because I have > LEDs, Hex Switches and a couple of other board specific I/O at 0x1000 > > Anyone got any ideas? > > > diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c I understand this is not to apply yet? Signed-off-by: etc are missing... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de In an organization, each person rises to the level of his own incom- petency - The Peter Principle