Fix the macros that determine the register offsets based on port and pin.
authorkettenis <kettenis@openbsd.org>
Sun, 28 Aug 2016 17:31:44 +0000 (17:31 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 28 Aug 2016 17:31:44 +0000 (17:31 +0000)
commit93d2a8ef255e307efd3467d68423a378a807218d
tree1434fe8851f8347ce98daa8b94564e96effeaaa2
parenteca553ad5994505ec70738c6ef85bc956061d253
Fix the macros that determine the register offsets based on port and pin.
These were didn't work as I expected, and returned the wrong offsets.  As a
result, pinctrl and gpio code was twiddling the wrong bits.
sys/arch/armv7/sunxi/sxipio.c