Re: [PATCH v3 02/38] ata: add HAS_IOPORT dependencies
From: Damien Le Moal
Date: Wed Mar 15 2023 - 03:15:17 EST
On 3/15/23 15:46, Arnd Bergmann wrote:
> On Wed, Mar 15, 2023, at 02:23, Damien Le Moal wrote:
>> On 3/14/23 21:11, Niklas Schnelle wrote:
>>> In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
>>> not being declared. We thus need to add HAS_IOPORT as dependency for
>>> those drivers using them.
>>
>> I do not see HAS_IOPORT=y defined anywhere in 6.3-rc. Is that in linux-next ?
>> There is a HAS_IOPORT_MAP, but I guess it is different.
>
> It's defined in patch 1 of the series, so the later patches
> can't be applied into subsystem trees without that.
>
> We can either merge patch 1 as a preparation first, or keep it
> all together as a series.
Got it. Either is fine with me. To allow option 2, I will send my ack.
Thanks !
>
> Arnd
--
Damien Le Moal
Western Digital Research