]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6dd9616fc43aabf059baf1ffb2d9a0bbb9ad80c
treeb5af9e0b69acb395f77d3bd3e4c1da42a5e06a86
parent52b58c9ad4ed0df164f600ae2bf0d6457d89fe89
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