]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ncr5380: Use runtime register mapping
authorOndrej Zary <linux@rainbow-software.org>
Sun, 3 Jan 2016 05:06:15 +0000 (16:06 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:43:10 +0000 (21:43 -0500)
Convert compile-time C400_ register mapping to runtime mapping.
This removes the weird negative register offsets and allows adding
additional mappings.

While at it, convert read/write loops into insb/outsb.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

No differences found