Re: [PATCH] [RFC][POWERPC] refactor dcr code

2008-03-24 Thread Stephen Rothwell
Hi Stephen, Just some trivial issues ... On Mon, 24 Mar 2008 16:28:33 -0700 Stephen Neuendorffer <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/sysdev/dcr.c > @@ -23,6 +23,67 @@ > #include > #include > > +#if defined(CONFIG_PPC_DCR_NATIVE) && defined(CONFIG_PPC_DCR_MMIO) > + > +bool dcr

[PATCH] [RFC][POWERPC] refactor dcr code

2008-03-24 Thread Stephen Neuendorffer
Previously, dcr support was configured at compile time to either using MMIO or native dcr instructions. Although this works for most platforms, it fails on FPGA platforms: 1) Systems may include more than one dcr bus. 2) Systems may be native dcr capable and still use memory mapped dcr interface.