OpenCloudOS-Kernel/include/asm-sh
Magnus Damm c0ca41a27e sh: fix ioreadN_rep and iowriteN_rep
This patch is a fix to make sure readsN/writesN are used over insN/outsN for
ioreadN_rep/iowriteN_rep.

The current state of the sh io code is that mmio operations like readN/writeN
and ioreadN/iowriteN are unaffected by the value of generic_io_base. This is
different fom port based io like inN/outN which gets adjusted using the value
in generic_io_base.

Without this patch ioreadN_rep/iowriteN_rep get their addresses adjusted.
The address for mmio access is adjusted using generic_io_base. This is wrong.
The ata core code currently crashes if generic_io_base is set.

This patch changes ioreadN_rep/iowriteN_rep to follow the same rules as the
rest of the mmio operations, ie don't adjust using generic_io_base.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Katsuya MATSUBARA <matsu@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-02-14 14:25:37 +09:00
..
cpu-sh2
cpu-sh2a
cpu-sh3
cpu-sh4 sh: add support for sh7366 processor 2008-02-14 14:22:10 +09:00
cpu-sh5 sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
dreamcast
hd64465
landisk
mpc1211
sh03
.gitignore
Kbuild
a.out.h
adc.h
addrspace.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
auxvec.h
bitops-grb.h
bitops-irq.h
bitops.h
bug.h
bugs.h sh: Handle SH7366 CPU in check_bugs(). 2008-02-14 14:22:10 +09:00
byteorder.h
cache.h
cacheflush.h
checksum.h
checksum_32.h
checksum_64.h
clock.h
cmpxchg-grb.h
cmpxchg-irq.h
cpu-features.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmabrg.h
edosk7705.h
elf.h
emergency-restart.h
entry-macros.S
errno.h
fb.h
fcntl.h
fixmap.h
flat.h
floppy.h
fpu.h
freq.h
futex-irq.h
futex.h
gpio.h
hardirq.h
hd64461.h
heartbeat.h
hp6xx.h sh: Tidy include/asm-sh/hp6xx.h 2008-02-14 14:22:11 +09:00
hw_irq.h
ide.h
ilsel.h
io.h sh: fix ioreadN_rep and iowriteN_rep 2008-02-14 14:25:37 +09:00
io_generic.h
io_trapped.h sh: trapped io support V2 2008-02-14 14:22:09 +09:00
ioctl.h
ioctls.h
ipcbuf.h
irq.h sh: asm/irq.h needs asm/cpu/irq.h. 2008-02-14 14:22:12 +09:00
irq_regs.h
irqflags.h
irqflags_32.h
irqflags_64.h
kdebug.h
kexec.h
keyboard.h
kgdb.h
kmap_types.h
lboxre2.h
linkage.h
local.h
machvec.h
magicpanelr2.h
mc146818rtc.h
microdev.h
mman.h
mmu.h
mmu_context.h
mmu_context_32.h
mmu_context_64.h sh: Get SH-5 caches working again post-unification. 2008-02-14 14:22:12 +09:00
mmzone.h
module.h
msgbuf.h
mutex.h
namei.h
page.h sh: Get SH-5 caches working again post-unification. 2008-02-14 14:22:12 +09:00
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pgtable_32.h
pgtable_64.h sh: Fix up set_fixmap_nocache() for SH-5. 2008-02-14 14:22:11 +09:00
pm.h
poll.h
posix_types.h
posix_types_32.h
posix_types_64.h
processor.h sh: add support for sh7366 processor 2008-02-14 14:22:10 +09:00
processor_32.h
processor_64.h
ptrace.h
push-switch.h
r7780rp.h sh: trapped io support for highlander V2 2008-02-14 14:22:09 +09:00
resource.h
rtc.h
rts7751r2d.h sh: trapped io support for r2d V2 2008-02-14 14:22:09 +09:00
rwsem.h
scatterlist.h
sci.h
sdk7780.h
se.h
se7206.h
se7343.h
se7722.h
se7751.h
se7780.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h
setup.h
sfp-machine.h
sh_bios.h
shmbuf.h
shmin.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smc37c93x.h
smp.h
snapgear.h
socket.h
sockios.h
sparsemem.h
spi.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
string_32.h
string_64.h
system.h sh: trapped io support V2 2008-02-14 14:22:09 +09:00
system_32.h sh: trapped io support V2 2008-02-14 14:22:09 +09:00
system_64.h
systemh7751.h
termbits.h
termios.h
thread_info.h
timer.h
timex.h
titan.h
tlb.h sh: asm/tlb.h needs linux/pagemap.h for CONFIG_SWAP=n. 2008-02-14 14:22:11 +09:00
tlb_64.h
tlbflush.h
topology.h
types.h
uaccess.h
uaccess_32.h
uaccess_64.h
ubc.h
ucontext.h
unaligned.h
unistd.h
unistd_32.h
unistd_64.h
user.h
vga.h
watchdog.h
xor.h