On 12/10/07, Grant Likely <[EMAIL PROTECTED]> wrote: > On 12/10/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > > Copy mpc-i2c to preserve support for ARCH=ppc and allow changes on > > ARCH=powerpc > > > > Temporarily copy the mpc-i2c driver to continue support for the ppc > > architecture until it is removed in mid-2008. This file should be > > deleted as part of ppc's final removal. > > > > Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> > > For the record; I'm not fond of this approach. Supporting both bus > bindings in the single driver is simple and results in less code churn > when arch/ppc is removed, and encourages separation between the driver > proper and the bus bindings which is just a good idea for all drivers > in general.
But it also triggers a testing burden on a bunch of hardware that I don't own. By copying off the known working ppc driver the testing burden is avoided. A subject for later discussion is whether platform bus should even exist when of_platform_bus is in use. I have removed platform_bus for the mpc5200 in my local builds. Removing platform bus exposed a bunch of junk from other platofrms that had inadvertently accumulated into the mpc5200 build. -- Jon Smirl [EMAIL PROTECTED] _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev