lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20100124164117.DCB483F6C0@gemini.denx.de> Date: Sun, 24 Jan 2010 17:41:17 +0100 From: Wolfgang Denk <wd@...x.de> To: Wolfgang Grandegger <wg@...ndegger.com> cc: Arnd Bergmann <arnd@...db.de>, linuxppc-dev@...ts.ozlabs.org, David Miller <davem@...emloft.net>, dzu@...x.de, netdev@...r.kernel.org, linuxppc-dev@...abs.org, agust@...x.de, kosmo@...ihalf.com Subject: Re: [net-next-2.6 PATCH 2/3] fs_enet: Add support for MPC512x to fs_enet driver Dear Wolfgang & Arnd, In message <4B5C5BDF.6020001@...ndegger.com> you wrote: > > Arnd Bergmann wrote: ... > > Is there any chance of building a kernel that runs on both mpc8xx and > > mpc5121? AFAIK, the 5121 is built on a 6xx core which is fundamentally > > incompatible with 8xx due to different memory management etc. It is my understanding as well that you cannot have a single image that boots both on 8xx and on 6xx cores. The focus was more on things like supporting MPC5200 and MPC512x with the same image. > > Since this makes it all a compile-time decision, it should be solvable > > with a very small number of carefully placed #ifdef in the header files > > an no runtime detection at all. > > > > Obviously this approach would not work for drivers that want to be portable > > across different register layouts on otherwise compatible platforms. > > You are probably right and your proposal would likely result in more > transparent (less ugly) code. There has been some discussion about > unifying FEC drivers when the patches (with the same subject) have been > submitted for the first time in May last year, but it was not about 512x > and 8xx, IIRC. You can re-read this discussion here: http://patchwork.ozlabs.org/patch/26927/ ee especiall Grant's note of 2009-05-21 15:36:11: "If it looks too ugly, then just fork the driver." 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@...x.de Immortality consists largely of boredom. -- Zefrem Cochrane, "Metamorphosis", stardate 3219.8 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists