Kernel Newbies archive mirror
 help / color / mirror / Atom feed
From: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
To: Chen shuo <1289151713@qq.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: how to find the octeon driver in menuconfig?
Date: Tue, 14 Nov 2023 15:16:19 +0100	[thread overview]
Message-ID: <CALpL90OPAtE9nicgJ67rdHuugJ8u1FJjjcELvJ1FLEHH2A5mUQ@mail.gmail.com> (raw)
In-Reply-To: <tencent_2CA646A4F0D9A1BA106946BCD5E9929E1707@qq.com>

On Tue, Nov 14, 2023 at 2:24 PM Chen shuo <1289151713@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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

           reply	other threads:[~2023-11-14 14:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_2CA646A4F0D9A1BA106946BCD5E9929E1707@qq.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALpL90OPAtE9nicgJ67rdHuugJ8u1FJjjcELvJ1FLEHH2A5mUQ@mail.gmail.com \
    --to=jeremi.piotrowski@gmail.com \
    --cc=1289151713@qq.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).