mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: The drivers Kconfig structure:  oddities and exceptions
Date: Thu, 7 Dec 2006 04:36:25 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0612070405510.15805@localhost.localdomain> (raw)


  as a followup to my previous patch (and before i build on top of
that), perhaps someone can clarify some of these bits of curiosity:

1) although "Sound" is listed in the Device Drivers menu, its actual
source directory is at the top level of the kernel source tree, and
it's the *only* entry in Device Drivers that requires sourcing from
the top-level directory.  any reason for this?  it just kind of stands
out as a weird exception to the rule.


2) in any of these driver submenu Kconfig files, you normally see that
*all* of the Kconfig entries depend on that "parent" menu selection.
but in drivers/scsi/Kconfig, you read:

=========================================================
menu "SCSI device support"

config RAID_ATTRS                            ???
        tristate "RAID Transport Class"
        default n
        depends on BLOCK
        ---help---
          Provides RAID

config SCSI
        tristate "SCSI device support"
        depends on BLOCK
        ---help---
          ... snip ...

config SCSI_TGT
        tristate "SCSI target support"
        depends on SCSI && EXPERIMENTAL
        ---help---
          ... snip ...

config SCSI_NETLINK                           ???
        bool
        default n
        select NET
...
==========================================================

  one would think that, if RAID_ATTRS depends only on BLOCK, it
properly belongs under the "Block devices" menu, just as SCSI_NETLINK
might belong under NET, or perhaps it should have a SCSI dependency as
well to make it consistent.  thoughts?

rday

             reply	other threads:[~2006-12-07  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07  9:36 Robert P. J. Day [this message]
2006-12-07 16:28 ` Randy Dunlap

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=Pine.LNX.4.64.0612070405510.15805@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®