On Fri, May 12, 2006 at 05:29:52PM -0500, Matt Mackall wrote: >... > --- 2.6.orig/include/linux/ide.h 2006-05-11 15:07:32.000000000 -0500 > +++ 2.6/include/linux/ide.h 2006-05-12 14:01:53.000000000 -0500 > @@ -252,7 +252,8 @@ static inline void ide_std_init_ports(hw > > #include <asm/ide.h> > > -#ifndef MAX_HWIFS > +#if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) > +#undef MAX_HWIFS > #define MAX_HWIFS CONFIG_IDE_MAX_HWIFS > #endif Why do you need this? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html