From: Wolfgang Denk Date: Wed, 13 Oct 2010 10:29:27 +0200 Subject: [U-Boot] [PATCH] ppc4xx: Add CATCenter Io 405EP board support In-Reply-To: <48D3D52125C49B43AE880038E2E5314BB5BDEA@SRV101.gdsys.de> References: <1286890387-11491-1-git-send-email-eibach@gdsys.de> <201010121741.49236.sr@denx.de> <48D3D52125C49B43AE880038E2E5314BB5BDEA@SRV101.gdsys.de> Message-ID: <20101013082927.1DBE314F310@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 "Eibach, Dirk", In message <48D3D52125C49B43AE880038E2E5314BB5BDEA@SRV101.gdsys.de> you wrote: > > To make this work, drivers/net/phy/miiphybb.c would have to include > asm/io.h somehow. What would be the right way to achieve this? This is a pretty clear indication that this processor or even board specific access stuff does not belong into the generic file drivers/net/phy/miiphybb.c - please reconsider the design. 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 Where people stand is not as important as which way they face. - Terry Pratchett & Stephen Briggs, _The Discworld Companion_