]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vme: tsi148: Master windows support USERx and CR/CSR accesses, not slaves
authorMartyn Welch <martyn.welch@ge.com>
Thu, 26 Feb 2015 15:53:11 +0000 (18:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 01:03:22 +0000 (17:03 -0800)
commit08e03c268e3af302649bb85f79fb7c78c9e22ec8
tree3b3ea80c98a723856235e1e30346a7d8ae47769d
parentc74a804f115bdedcac72ea52ca33f46cfae3b74f
vme: tsi148: Master windows support USERx and CR/CSR accesses, not slaves

The tsi148 driver is registering the slave images as supporting the "USER"
access modes and CR/CSR access mode rather than the master images as it
should.

Remove the incorrect case entries for these modes from the
tsi148_slave_set() function, stop registering slave_images as supporting
these modes and instead register master windows as supporting these modes.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Acked-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vme/bridges/vme_tsi148.c