On Sat, 2006-11-04 at 19:46 -0800, Linus Torvalds wrote: > > On Sun, 5 Nov 2006, Benjamin Herrenschmidt wrote: > > > > Make the generic lib/iomap.c use arch provided MMIO accessors when > > available for big endian and repeat operations. Also while at it, > > fix the *_be version which are currently broken for PIO > > Just rip the _be versions out, methinks. At least one user: ./drivers/scsi/53c700.h: __u32 value = bEBus ? ioread32be(hostdata->base + reg) : ./drivers/scsi/53c700.h: bEBus ? iowrite32be(value, hostdata->base + reg): Should I make it use explicit swab32 instead ? Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Linus Torvalds <torvalds@osdl.org>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- References:
- lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Russell King <rmk+lkml@arm.linux.org.uk>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Linus Torvalds <torvalds@osdl.org>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- From: Linus Torvalds <torvalds@osdl.org>
- lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- Prev by Date: Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- Next by Date: [PATCH] corrupted cramfs filesystems cause kernel oops
- Previous by thread: Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- Next by thread: Re: lib/iomap.c mmio_{in,out}s* vs. __raw_* accessors
- Index(es):
![]() |