On Mon, 2005-03-21 at 10:41 -0800, Mark Haverkamp wrote: > + Adaptec 2130S
Why are we getting updated card support in an endian cleanup patch? > +/* > + * Some configurations of BE Linux have writel and readl automatically > perform > + * byte swapping, and some configurations (embedded) do not. Typically > + * AAC_IO_USES_CPU_ORDER needs to be defined since most BE ports are working > + * with drivers that have not been coded to support BE. > + */ > +#define AAC_IO_USES_CPU_ORDER 1 > +#ifdef AAC_IO_USES_CPU_ORDER > +# define aac_io_le32_to_cpu > +# define aac_io_cpu_to_le16 > +# define aac_io_cpu_to_le32 > +#else > +# define aac_io_le32_to_cpu le32_to_cpu > +# define aac_io_cpu_to_le16 cpu_to_le16 > +# define aac_io_cpu_to_le32 cpu_to_le32 > +#endif What exactly is this for? I know of no platforms that implement readl and friends incorrectly, so all of this should be unnecessary. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

