On Thu, Jun 03, 2010 at 09:43:33AM -0400, Jate Sujjavanich wrote: > Here's a resubmission. > > > ---------------------------- > The arch/m68k/include/asm/ide.h produces errors when the IDE driver is > compiled for my 523x uClinux system under kernel. The header makes some > redefines of operators not defined in the arch/m68k/include/asm/io_no.h > header. There are no separate mmio and iospace defines. > > This solution follows the convention used for other mmu/nommu headers in the > m68k arch.
This is not really a convention. It is a temporary situation resulting from the merge of arch/m68k/include and arch/m68knommu/include. So please do not gratuitly create new unneeded files. One ide.h is enough. Philippe > > Signed-off-by: Jate Sujjavanich <jsujjavan...@syntech-fuelmaster.com> > > > diff --git a/arch/m68k/include/asm/ide.h b/arch/m68k/include/asm/ide.h > index 3958726..ed40426 100644 > --- a/arch/m68k/include/asm/ide.h > +++ b/arch/m68k/include/asm/ide.h [...] > +#ifdef __uClinux__ > +#include "ide_no.h" > +#else > +#include "ide_mm.h" > +#endif > diff --git a/arch/m68k/include/asm/ide_mm.h b/arch/m68k/include/asm/ide_mm.h > new file mode 100644 > index 0000000..11c2ee6 > --- /dev/null > +++ b/arch/m68k/include/asm/ide_mm.h [...] > diff --git a/arch/m68k/include/asm/ide_no.h b/arch/m68k/include/asm/ide_no.h > new file mode 100644 > index 0000000..d32919c > --- /dev/null > +++ b/arch/m68k/include/asm/ide_no.h -- Philippe De Muyter phdm at macqel dot be Tel +32 27029044 Macq Electronique SA rue de l'Aeronef 2 B-1140 Bruxelles Fax +32 27029077 _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev