floppy: prepare ARM code to simplify base address separation
authorWilly Tarreau <w@1wt.eu>
Sun, 1 Mar 2020 19:55:52 +0000 (20:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2020 14:26:58 +0000 (08:26 -0600)
commitfc0c5c0c85a83207a16011d34916ec4c5db083a1
treea5aa9f2ff633eace504ea7924da5c76e0ad0d794
parent336eae37338590ea259954546a44a5f524256b6e
floppy: prepare ARM code to simplify base address separation

The fd_outb() macro on ARM relies on a special fd_setdor() macro when
the register is FD_DOR and both will need to be changed to accept a
separate base address. Let's just remerge them to simplify the change
and make this code more easily reviewable.

Link: https://lore.kernel.org/r/20200301195555.11154-4-w@1wt.eu
Cc: Ian Molton <spyro@f2s.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arm/include/asm/floppy.h