Re: how to find the octeon driver in menuconfig?

Jeremi Piotrowski <[email protected]>
Newsgroups gmane.linux.kernel.kernelnewbies
Message-ID <CALpL90OPAtE9nicgJ67rdHuugJ8u1FJjjcELvJ1FLEHH2A5mUQ@mail.gmail.com>
On Tue, Nov 14, 2023 at 2:24 PM Chen shuo <[email protected]> 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

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.