[PATCH v4 74/78] ncr5380: Use runtime register mapping

2016-01-02 Thread Finn Thain
From: Ondrej Zary 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 Signed-off-by: Finn Thain Reviewed-by:

[PATCH v4 74/78] ncr5380: Use runtime register mapping

2016-01-02 Thread Finn Thain
From: Ondrej Zary 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