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

Old hard disk (MFM/RLL/IDE) driver

configname: CONFIG_BLK_DEV_HD_ONLY

Linux Kernel Configuration
└─>Device Drivers
└─>ATA/ATAPI/MFM/RLL support
└─>Old hard disk (MFM/RLL/IDE) driver
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
There are two drivers for MFM/RLL/IDE hard disks. Most people use
the newer enhanced driver, but this old one is still around for two
reasons. Some older systems have strange timing problems and seem to
work only with the old driver (which itself does not work with some
newer systems). The other reason is that the old driver is smaller,
since it lacks the enhanced functionality of the new one. This makes
it a good choice for systems with very tight memory restrictions, or
for systems with only older MFM/RLL/ESDI drives. Choosing the old
driver can save 13 KB or so of kernel memory.

If you are unsure, then just choose the Enhanced IDE/MFM/RLL driver
instead of this one. For more detailed information, read the
Disk-HOWTO, available from
<http://www.tldp.org/docs.html#howto>.