summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/PeeCeeI.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-07-20 15:38:58 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-22 08:43:18 +0400
commitd650471a399e65e423967e0b7692c86228211522 (patch)
treebf9ca52103956ce55c230052d61fe01cbdb07c55 /arch/sparc/lib/PeeCeeI.c
parent07d66921337176e9d27e4d0a8a23425c8284a381 (diff)
downloadlinux-d650471a399e65e423967e0b7692c86228211522.tar.xz
sparcspkr: use sbus_*() primitives for IO
The memory are mapped using of_ioremap() which is an indication this is sbus memory. Shift all uses of inb/outb to the sbus variants. The inb/outb methods uses ASI_PHYS_BYPASS_EC_E_L, whereas sbus_ variants uses ASI_PHYS_BYPASS_EC_E. The difference is if the reads/writes are done in native or little endian. But for byte reads/writes there is no difference so this does not matter for inb/outb - and this driver only uses the byte variants. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/PeeCeeI.c')
0 files changed, 0 insertions, 0 deletions