how to find the octeon driver in menuconfig?

Jeremi Piotrowski jeremi.piotrowski at gmail.com
Tue Nov 14 09:16:19 EST 2023


On Tue, Nov 14, 2023 at 2:24 PM Chen shuo <1289151713 at qq.com> wrote:
>
> I want to recompile the octeon driver, when i searching the octeon,it logs out
>
> │ Symbol: AHCI_OCTEON [=n]                                                                                                                                                                           │
>   │ Type  : tristate                                                                                                                                                                                   │
>   │ Defined at drivers/ata/Kconfig:240                                                                                                                                                                 │
>   │   Prompt: Cavium Octeon Soc Serial ATA                                                                                                                                                             │
>   │   Depends on: ATA [=y] && HAS_DMA [=y] && SATA_AHCI_PLATFORM [=y] && CAVIUM_OCTEON_SOC                                                                                                             │
>   │   Location:                                                                                                                                                                                        │
>   │     -> Device Drivers                                                                                                                                                                              │
>   │ (1)   -> Serial ATA and Parallel ATA drivers (libata) (ATA [=y])                                                                                                                                   │
>   │         -> Cavium Octeon Soc Serial ATA (AHCI_OCTEON [=n])                                                                                                                                         │
>   │                                                                                                                                                                                                    │
>   │                                                                                                                                                                                                    │
>   │ Symbol: CAVIUM_OCTEON_SOC [=CAVIUM_OCTEON_SOC]                                                                                                                                                     │
>   │ Type  : unknown                                                                                                                                                                                    │
>   │                                                                                                                                                                                                    │
>   │                                                                                                                                                                                                    │
>   │ Symbol: CPU_CAVIUM_OCTEON [=CPU_CAVIUM_OCTEON]                                                                                                                                                     │
>   │ Type  : unknown
>
> I have set the ATA [=y]、HAS_DMA [=y]、SATA_AHCI_PLATFORM [=y].But i don't  know about CAVIUM_OCTEON_SOC
>
> When i search the CAVIUM_OCTEON_SOC,It print out:
>
> Symbol: CAVIUM_OCTEON_SOC [=CAVIUM_OCTEON_SOC]                                                                                                                                                     │
>   │ Type  : unknown
>
> What should i do?
>
> Thanks
>
> Chen Shuo
>

I suggest looking for the string in the whole repository, or in a
kernel source code browser like so:
https://elixir.bootlin.com/linux/latest/K/ident/CONFIG_CAVIUM_OCTEON_SOC

You'll find that Octeon is a MIPS SoC so you need to build the kernel
for the MIPS architecture to
build the octeon drivers.

Best wishes,
Jeremi



More information about the Kernelnewbies mailing list