This post from 2005 gives a general method.
At 21 years old, it's showing its age. The details are no longer correct.
You need to understand the PC Boot Process
The section Configuring the kernel is particularly important.
Further, you need to use your search engine of choice to search site:cateee.net for USB and PCI Vendor and Device IDs as it will tell you the lowest for level hardware driver that is required.
For example
Code: Select all
...
09:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
Kernel driver in use: ahci
...
Putting 1022:7901 PCI site:cateee.net into my search enige gets me two hits
https://cateee.net/lkddb/web-lkddb/SATA_AHCI.html and https://cateee.net/lkddb/web-lkddb/ATA.html
Both are relevant.
Read the depends on: in the help. That's a boolean equation that must evaluate to true or the option will be hidden.
Now you know what symbol to find in the menuconfig search.
The Kernel driver in use: is a big help too.
Something similar mostly works for USB devices too. I say 'mostly' because some USB drivers are for a whole class of devices.



