[PATCH 14/14] arm/include/asm/io.h : added macros to read/write big/little endian register

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Sep 2 21:02:32 EST 2011


> There can be some peripheral like dwc-otg, whose registers will be
> either in LE or in BE
> depending on the RTL configuration selected by a implementor.
> Software always expects a LE value when it will call "in_" and will
> provide a LE value when "out_".
> It expects beacuse , it wants to do same bit wise operation for both
> configurations.

Then these are the wrong accessors.

Cheers,
Ben.

> 
> 
> >>+
> >
> > Please split this patch out and get it accepterd by ARM community. USB
> > people won't merge this.
> >
> 
> Ok, will send it to ARM mailing list.
> 
> Regards
> Pratyush
> 
> > Sebastian
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> > the body of a message to majordomo at vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev




More information about the Linuxppc-dev mailing list