default or selected kernelversion does not have config value CONFIG_IDE_GD.
Result is shown for kernelversion 6.9.9

generic ATA/ATAPI disk support

modulename: ide-gd_mod.ko

configname: CONFIG_IDE_GD

Linux Kernel Configuration
└─>Device Drivers
└─>ATA/ATAPI/MFM/RLL support (DEPRECATED)
└─>generic ATA/ATAPI disk support
In linux kernel since version 2.6.28 (release Date: 2008-12-24)  
Support for ATA/ATAPI disks (including ATAPI floppy drives).

To compile this driver as a module, choose M here.
The module will be called ide-gd_mod.

If unsure, say Y.

source code:
depends
CONFIG_IDE

is selected by
CONFIG_IDE_GD_ATAPI