OSDN Git Service

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

Now we can use FD_STATUS and FD_DATA instead of 4 or 5, let's do
this, and also use STATUS_DMA and STATUS_READY for the status bits.

Link: https://lore.kernel.org/r/20200331094054.24441-6-w@1wt.eu
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
arch/powerpc/include/asm/floppy.h