Re: [PATCH 01/10] floppy: cleanup: expand macro FDCS

From: Denis Efremov
Date: Tue Feb 25 2020 - 10:39:12 EST


On 2/25/20 6:22 PM, Denis Efremov wrote:
> As for now, I can see that only floppy.c includes fdreg.h file
> with define FDPATCHES. If it's true then #define FD_IOPORT 0x3f0
> branch is never used and we can try to fix remaining FD_* macro
> in the next round.

Ah, I forgot that fdregs.h is uapi. Thus, we can't simplify FDPATCHES.

Denis