OSDN Git Service

floppy: introduce new functions fdc_inb() and fdc_outb()
authorWilly Tarreau <w@1wt.eu>
Sun, 1 Mar 2020 19:55:53 +0000 (20:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2020 14:26:58 +0000 (08:26 -0600)
commitac7018614dd958c68ffbb67e8eb6826e1533b96e
treee1d006921d978981feadf86fbb31e427281f7e9c
parentfc0c5c0c85a83207a16011d34916ec4c5db083a1
floppy: introduce new functions fdc_inb() and fdc_outb()

These two functions replace fd_inb() and fd_outb() in that they take
the FDC in argument. This will ease the separation of the base address
and the port everywhere the code is used.

Link: https://lore.kernel.org/r/20200301195555.11154-5-w@1wt.eu
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>
drivers/block/floppy.c