Re: in_be32() etc

2012-02-23 Thread Grant Likely
On Thu, Feb 23, 2012 at 1:25 PM, Russell King - ARM Linux wrote: > On Fri, Feb 24, 2012 at 07:18:59AM +1100, Benjamin Herrenschmidt wrote: >> On Thu, 2012-02-23 at 11:29 +, Russell King - ARM Linux wrote: >> > What's this stuff doing in generic drivers? >> >> Well, I suppose that's because the

Re: in_be32() etc

2012-02-23 Thread Russell King - ARM Linux
On Fri, Feb 24, 2012 at 07:18:59AM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2012-02-23 at 11:29 +, Russell King - ARM Linux wrote: > > What's this stuff doing in generic drivers? > > Well, I suppose that's because the xilinx stuff used to be ppc > only ? :-) Note that's just the first o

Re: in_be32() etc

2012-02-23 Thread Benjamin Herrenschmidt
On Thu, 2012-02-23 at 11:29 +, Russell King - ARM Linux wrote: > What's this stuff doing in generic drivers? Well, I suppose that's because the xilinx stuff used to be ppc only ? :-) > See drivers/gpio/gpio-xilinx.c: > static int xgpio_get(struct gpio_chip *gc, unsigned int gpio) > { >