default or selected kernelversion does not have config value CONFIG_IDE_MAX_HWIFS.
Result is shown for kernelversion 5.19-rc1

Max IDE interfaces

configname: CONFIG_IDE_MAX_HWIFS

Linux Kernel Configuration
└─>Device Drivers
└─>ATA/ATAPI/MFM/RLL support
└─>Max IDE interfaces
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
This is the maximum number of IDE hardware interfaces that will
be supported by the driver. Make sure it is at least as high as
the number of IDE interfaces in your system.

depends
CONFIG_IDE
CONFIG_ALPHA or CONFIG_EMBEDDED or CONFIG_IA64 or CONFIG_SUPERH