[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c343fde-01cb-4cda-bf20-9df0ece94359@oracle.com>
Date: Sun, 10 Mar 2024 10:02:42 +0000
From: John Garry <john.g.garry@...cle.com>
To: Igor Pylypiv <ipylypiv@...gle.com>
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com, chenxiang66@...ilicon.com,
jinpu.wang@...ud.ionos.com, artur.paszkiewicz@...el.com,
yanaijie@...wei.com, dlemoal@...nel.org, cassel@...nel.org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/6] scsi: libsas: Add LIBSAS_SHT_BASE
On 08/03/2024 19:41, Igor Pylypiv wrote:
>> Even though some drivers don't set proc_name, it won't make much difference
>> to set as DRV_NAME.
>>
>> Also add LIBSAS_SHT_BASE_NO_SLAVE_INIT for the hisi_sas drivers which have
>> custom .slave_alloc and .slave_configure methods.
> Looks like libata drivers have no problem overriding default values that were
> set by __ATA_BASE_SHT. For example __ATA_BASE_SHT sets .can_queue .sdev_attrs
> and then AHCI_SHT overrides those with AHCI specific values:
>
> #define AHCI_SHT(drv_name) \
> ATA_NCQ_SHT(drv_name), \
which tag are you looking at here?
That looks like an old definition of AHCI_SHT().
There was a significant change for this in the following:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/ata/ahci.h?h=v5.14&id=071e86fe2872e7442e42ad26f71cd6bde55344f8
Thanks,
John
Powered by blists - more mailing lists