default or selected kernelversion does not have config value CONFIG_IDE_GENERIC.
Result is shown for kernelversion 6.9.5

generic/default IDE chipset support

modulename: ide-generic.ko

configname: CONFIG_IDE_GENERIC

Linux Kernel Configuration
└─>Device Drivers
└─>ATA/ATAPI/MFM/RLL support (DEPRECATED)
└─>generic/default IDE chipset support
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
This is the generic IDE driver. This driver attaches to the
fixed legacy ports (e.g. on PCs 0x1f0/0x170, 0x1e8/0x168 and
so on). Please note that if this driver is built into the
kernel or loaded before other ATA (IDE or libata) drivers
and the controller is located at legacy ports, this driver
may grab those ports and thus can prevent the controller
specific driver from attaching.

Also, currently, IDE generic doesn't allow IRQ sharing
meaning that the IRQs it grabs won't be available to other
controllers sharing those IRQs which usually makes drivers
for those controllers fail. Generally, it's not a good idea
to load IDE generic driver on modern systems.

If unsure, say N.

source code: