floppy: use symbolic register names in the sparc64 port
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 09:40:38 +0000 (11:40 +0200)
committerDenis Efremov <efremov@linux.com>
Tue, 12 May 2020 16:34:53 +0000 (19:34 +0300)
commit6cb7e69671843c6f10fd25fc93eecadd4d52ac37
treeb5af9e0b69acb395f77d3bd3e4c1da42a5e06a86
parent6d362018c66a0ad13117357422e39a8821a812ad
floppy: use symbolic register names in the sparc64 port

Now by splitting the base address from the register index we can
use the symbolic register names instead of the hard-coded numeric
values.

Link: https://lore.kernel.org/r/20200331094054.24441-8-w@1wt.eu
Cc: "David S. Miller" <davem@davemloft.net>
[willy: fix printk warnings s/%lx/%x/g in sun_82077_fd_{inb,outb}()]
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
arch/sparc/include/asm/floppy_64.h