All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] backports:  Include drivers/net/wireless/cw1200
@ 2013-08-01 14:39 Solomon Peachy
  2013-08-01 14:39 ` [PATCH 2/2] backports: Add patch for cw1200_sdio with kernels < 3.2 Solomon Peachy
  2013-08-13 15:15 ` [PATCH 1/2] backports: Include drivers/net/wireless/cw1200 Solomon Peachy
  0 siblings, 2 replies; 5+ messages in thread
From: Solomon Peachy @ 2013-08-01 14:39 UTC (permalink / raw)
  To: backports; +Cc: Solomon Peachy

Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
---
 copy-list | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/copy-list b/copy-list
index aaf5ae9..a227f30 100644
--- a/copy-list
+++ b/copy-list
@@ -28,7 +28,7 @@ include/linux/usb/usbnet.h
 include/linux/usb/rndis_host.h
 include/linux/spi/libertas_spi.h
 include/linux/platform_data/brcmfmac-sdio.h
-
+include/linux/platform_data/net-cw1200.h
 include/uapi/linux/nl80211.h
 
 include/net/cfg80211.h
@@ -51,6 +51,7 @@ include/linux/bcma/
 drivers/net/wireless/b43/
 drivers/net/wireless/b43legacy/
 drivers/net/wireless/brcm80211/
+drivers/net/wireless/cw1200/
 drivers/net/wireless/iwlegacy/
 drivers/net/wireless/iwlwifi/
 drivers/net/wireless/rt2x00/
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] backports:  Add patch for cw1200_sdio with kernels < 3.2
  2013-08-01 14:39 [PATCH 1/2] backports: Include drivers/net/wireless/cw1200 Solomon Peachy
@ 2013-08-01 14:39 ` Solomon Peachy
  2013-08-15 11:39   ` Hauke Mehrtens
  2013-08-13 15:15 ` [PATCH 1/2] backports: Include drivers/net/wireless/cw1200 Solomon Peachy
  1 sibling, 1 reply; 5+ messages in thread
From: Solomon Peachy @ 2013-08-01 14:39 UTC (permalink / raw)
  To: backports; +Cc: Solomon Peachy

It's probably not feasible to backport the SDIO quirk mechanism, but
without the qurik or this patch, the hardware will hang with 512-byte
transfers.

Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
---
 .../network/0001-cw1200-sdio-quirk/cw1200.patch           | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch

diff --git a/patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch b/patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch
new file mode 100644
index 0000000..2533051
--- /dev/null
+++ b/patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch
@@ -0,0 +1,15 @@
+--- a/drivers/net/wireless/cw1200/cw1200_sdio.c
++++ b/drivers/net/wireless/cw1200/cw1200_sdio.c
+@@ -253,6 +253,12 @@ static size_t cw1200_sdio_align_size(struct hwbus_priv *self, size_t size)
+ 	else
+ 		size = sdio_align_size(self->func, size);
+ 
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0))
++	/* A quirk to handle this was committed in 3.2-rc */
++	if (size == SDIO_BLOCK_SIZE)
++		size += SDIO_BLOCK_SIZE;  /* HW bug; force use of block mode */
++#endif
++
+ 	return size;
+ }
+ 
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] backports:  Include drivers/net/wireless/cw1200
  2013-08-01 14:39 [PATCH 1/2] backports: Include drivers/net/wireless/cw1200 Solomon Peachy
  2013-08-01 14:39 ` [PATCH 2/2] backports: Add patch for cw1200_sdio with kernels < 3.2 Solomon Peachy
@ 2013-08-13 15:15 ` Solomon Peachy
  1 sibling, 0 replies; 5+ messages in thread
From: Solomon Peachy @ 2013-08-13 15:15 UTC (permalink / raw)
  To: backports

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

On Thu, Aug 01, 2013 at 10:39:25AM -0400, Solomon Peachy wrote:
> Signed-off-by: Solomon Peachy <pizza@shaftnet.org>

I was wondering if my pair of patches was okay; I'd really like to see 
the cw1200 driver included in the 3.11+ backports release.

Cheers,

 - Solomon
-- 
Solomon Peachy        		       pizza at shaftnet dot org
Delray Beach, FL                          ^^ (email/xmpp) ^^
Quidquid latine dictum sit, altum viditur.

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] backports:  Add patch for cw1200_sdio with kernels < 3.2
  2013-08-01 14:39 ` [PATCH 2/2] backports: Add patch for cw1200_sdio with kernels < 3.2 Solomon Peachy
@ 2013-08-15 11:39   ` Hauke Mehrtens
  2013-08-15 12:59     ` Solomon Peachy
  0 siblings, 1 reply; 5+ messages in thread
From: Hauke Mehrtens @ 2013-08-15 11:39 UTC (permalink / raw)
  To: Solomon Peachy; +Cc: backports

On 08/01/2013 04:39 PM, Solomon Peachy wrote:
> It's probably not feasible to backport the SDIO quirk mechanism, but
> without the qurik or this patch, the hardware will hang with 512-byte
> transfers.
> 
> Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
> ---
>  .../network/0001-cw1200-sdio-quirk/cw1200.patch           | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch
> 
> diff --git a/patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch b/patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch
> new file mode 100644
> index 0000000..2533051
> --- /dev/null
> +++ b/patches/unified-drivers/network/0001-cw1200-sdio-quirk/cw1200.patch

Please move this patch to
patches/collateral-evolutions/network/75-cw1200-sdio-quirk/cw1200.patch

I can not say anything to the content of this patch, but otherwise these
two patches are looking good.

Hauke

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] backports:  Add patch for cw1200_sdio with kernels < 3.2
  2013-08-15 11:39   ` Hauke Mehrtens
@ 2013-08-15 12:59     ` Solomon Peachy
  0 siblings, 0 replies; 5+ messages in thread
From: Solomon Peachy @ 2013-08-15 12:59 UTC (permalink / raw)
  To: Hauke Mehrtens; +Cc: backports

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Thu, Aug 15, 2013 at 01:39:29PM +0200, Hauke Mehrtens wrote:
> Please move this patch to
> patches/collateral-evolutions/network/75-cw1200-sdio-quirk/cw1200.patch

Done!  And the new patch set should be arriving shortly.

> I can not say anything to the content of this patch, but otherwise these
> two patches are looking good.

I rewrote the patch comments that explain why this patch is necessary.

 - Solomon
-- 
Solomon Peachy        		       pizza at shaftnet dot org
Delray Beach, FL                          ^^ (email/xmpp) ^^
Quidquid latine dictum sit, altum viditur.

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-15 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-01 14:39 [PATCH 1/2] backports: Include drivers/net/wireless/cw1200 Solomon Peachy
2013-08-01 14:39 ` [PATCH 2/2] backports: Add patch for cw1200_sdio with kernels < 3.2 Solomon Peachy
2013-08-15 11:39   ` Hauke Mehrtens
2013-08-15 12:59     ` Solomon Peachy
2013-08-13 15:15 ` [PATCH 1/2] backports: Include drivers/net/wireless/cw1200 Solomon Peachy

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.