public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Julian Calaby <julian.calaby@gmail.com>
To: Dan Williams <dcbw@redhat.com>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>,
	linux-wireless@vger.kernel.org,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH] mwl8k: split driver by chipset
Date: Mon, 23 Nov 2009 16:42:14 +1100	[thread overview]
Message-ID: <646765f40911222142we220796v5fdfb541e522505f@mail.gmail.com> (raw)
In-Reply-To: <1258931158.12095.33.camel@localhost.localdomain>

On Mon, Nov 23, 2009 at 10:05, Dan Williams <dcbw@redhat.com> wrote:
> No functional changes, but split the code up to make it
> easier to add support for other Libertas softmac chipsets
> like the 88w8361, which has slightly different RX and TX
> descriptors and some slightly different commands.
>
> Signed-off-by: Dan Williams <dcbw@redhat.com>

Yay, potential 88w8335 support!

> ---
> Note: patch is large (code reshuffle) so in case it gets rejected:
>
> http://bigw.org/~dan/mwl8k-split.patch

Diffstat?

> diff --git a/drivers/net/wireless/mwl8k/Kconfig b/drivers/net/wireless/mwl8k/Kconfig
> new file mode 100644
> index 0000000..48b4071
> --- /dev/null
> +++ b/drivers/net/wireless/mwl8k/Kconfig
> @@ -0,0 +1,29 @@
> +config MWL8K_COMMON
> +       tristate "Marvell 88W8xxx PCI/PCIe Wireless support"
> +       depends on MAC80211 && PCI && WLAN_80211 && EXPERIMENTAL
> +       ---help---
> +         This is common code for Marvell TOPDOG 802.11 wireless cards.  This
> +         module does nothing by itself - the device-specific front-ends
> +         also need to be enabled in order to support any devices.
> +
> +         To compile this driver as a module, choose M here: the module
> +         will be called mwl8k.  If unsure, say N.
> +
> +config MWL8687
> +       tristate "Marvell 88W8687 PCI/PCIe Wireless support"
> +       depends on MWL8K_COMMON
> +       ---help---
> +         This driver is for Marvell TOPDOG 88w8687-based wireless cards.
> +
> +         To compile this driver as a module, choose M here: the module
> +         will be called mwl8687.  If unsure, say N.
> +
> +config MWL8366
> +       tristate "Marvell 88W8366 PCI/PCIe Wireless support"
> +       depends on MWL8K_COMMON
> +       ---help---
> +         This driver is for Marvell TOPDOG 88w8366-based wireless cards.
> +
> +         To compile this driver as a module, choose M here: the module
> +         will be called mwl8366.  If unsure, say N.
> +

Isn't there a menuconfig option that'd make the depends on
MWL8K_COMMON redundant?

Thanks,

-- 

Julian Calaby

Email: julian.calaby@gmail.com
.Plan: http://sites.google.com/site/juliancalaby/

  reply	other threads:[~2009-11-23  7:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-22 23:05 [PATCH] mwl8k: split driver by chipset Dan Williams
2009-11-23  5:42 ` Julian Calaby [this message]
2009-11-23 11:02 ` Lennert Buytenhek
2009-11-23 11:13   ` Johannes Berg
2009-11-23 11:29     ` Lennert Buytenhek
2009-11-23 11:34       ` Johannes Berg
2009-11-26  3:25   ` Dan Williams

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=646765f40911222142we220796v5fdfb541e522505f@mail.gmail.com \
    --to=julian.calaby@gmail.com \
    --cc=buytenh@wantstofly.org \
    --cc=dcbw@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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