From: Arend van Spriel <arend@broadcom.com>
To: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org, "John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH] mmc: add SDIO identifiers for Broadcom WLAN devices
Date: Sat, 4 Jan 2014 13:55:34 +0100 [thread overview]
Message-ID: <52C804C6.7010203@broadcom.com> (raw)
In-Reply-To: <1387834621-4813-1-git-send-email-arend@broadcom.com>
On 12/23/13 22:37, Arend van Spriel wrote:
> The SDIO identifier for Broadcom WLAN devices were defined in the
> brcmfmac SDIO driver. Moving the definitions in MMC header file
> seems common sense.
>
> Reviewed-by: Hante Meuleman<meuleman@broadcom.com>
> Reviewed-by: Pieter-Paul Giesberts<pieterpg@broadcom.com>
> Signed-off-by: Arend van Spriel<arend@broadcom.com>
> ---
> Moved vendor and device definitions in sdio_ids.h. Can split up in
> two patches but they are clearly related.
Hi Chris,
Not sure whether you applied this one already, but I realized it might
be better to move this one through the wireless tree to avoid merge
conflicts. So please let me know if that is ok and I consider the patch
dropped on your side.
Regards,
Arend
> Regards,
> Arend
> ---
> drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c | 2 --
> drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c | 1 +
> drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.h | 8 --------
> include/linux/mmc/sdio_ids.h | 10 ++++++++++
> 4 files changed, 11 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c
> index 905704e..2274c64 100644
> --- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c
> +++ b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c
> @@ -39,8 +39,6 @@
> #include "dhd_dbg.h"
> #include "dhd_bus.h"
>
> -#define SDIO_VENDOR_ID_BROADCOM 0x02d0
> -
> #define DMA_ALIGN_MASK 0x03
>
> #define SDIO_FUNC1_BLOCKSIZE 64
> diff --git a/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c b/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
> index 2096a14..a119808 100644
> --- a/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
> +++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
> @@ -19,6 +19,7 @@
> #include<linux/netdevice.h>
> #include<linux/mmc/card.h>
> #include<linux/mmc/sdio_func.h>
> +#include<linux/mmc/sdio_ids.h>
> #include<linux/ssb/ssb_regs.h>
> #include<linux/bcma/bcma.h>
>
> diff --git a/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.h b/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.h
> index 507c61c..f0780ee 100644
> --- a/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.h
> +++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.h
> @@ -54,14 +54,6 @@
>
> #define BRCMF_MAX_CORENUM 6
>
> -/* SDIO device ID */
> -#define SDIO_DEVICE_ID_BROADCOM_43143 43143
> -#define SDIO_DEVICE_ID_BROADCOM_43241 0x4324
> -#define SDIO_DEVICE_ID_BROADCOM_4329 0x4329
> -#define SDIO_DEVICE_ID_BROADCOM_4330 0x4330
> -#define SDIO_DEVICE_ID_BROADCOM_4334 0x4334
> -#define SDIO_DEVICE_ID_BROADCOM_4335_4339 0x4335
> -
> struct chip_core_info {
> u16 id;
> u16 rev;
> diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
> index 9f03fee..0f01fe0 100644
> --- a/include/linux/mmc/sdio_ids.h
> +++ b/include/linux/mmc/sdio_ids.h
> @@ -23,6 +23,16 @@
> /*
> * Vendors and devices. Sort key: vendor first, device next.
> */
> +#define SDIO_VENDOR_ID_BROADCOM 0x02d0
> +#define SDIO_DEVICE_ID_BROADCOM_43143 43143
> +#define SDIO_DEVICE_ID_BROADCOM_43241 0x4324
> +#define SDIO_DEVICE_ID_BROADCOM_4329 0x4329
> +#define SDIO_DEVICE_ID_BROADCOM_4330 0x4330
> +#define SDIO_DEVICE_ID_BROADCOM_4334 0x4334
> +#define SDIO_DEVICE_ID_BROADCOM_4335_4339 0x4335
> +#define SDIO_DEVICE_ID_BROADCOM_43362 43362
> +#define SDIO_DEVICE_ID_BROADCOM_4354 0x4354
> +
> #define SDIO_VENDOR_ID_INTEL 0x0089
> #define SDIO_DEVICE_ID_INTEL_IWMC3200WIMAX 0x1402
> #define SDIO_DEVICE_ID_INTEL_IWMC3200WIFI 0x1403
prev parent reply other threads:[~2014-01-04 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-23 21:37 [PATCH] mmc: add SDIO identifiers for Broadcom WLAN devices Arend van Spriel
2014-01-04 12:55 ` Arend van Spriel [this message]
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=52C804C6.7010203@broadcom.com \
--to=arend@broadcom.com \
--cc=cjb@laptop.org \
--cc=linux-mmc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.