- possible-bug-fix-in-ehci-hcd.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Possible bug fix in ehci-hcd
has been removed from the -mm tree.  Its filename was
     possible-bug-fix-in-ehci-hcd.patch

This patch was dropped because it is obsolete

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: Possible bug fix in ehci-hcd
From: Andy Shevchenko <andy@xxxxxxxxxxxx>

The Sequans company who produce WiMAX chips provides the USB driver and
kthp addon driver.  However the USB device doesn't work correctly.

Here is more true hack for Sequans SQN11x0 based modem.

P.S. For more details, please, ask Sequans staff (see Signed-off-by lines).

Signed-off-by: Andy Shevchenko <andy@xxxxxxxxxxxx>
Signed-off-by: Gosne Stephane <sgosne@xxxxxxxxxxx>
Cc: David Brownell <david-b@xxxxxxxxxxx>
Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/usb/host/ehci-q.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff -puN drivers/usb/host/ehci-q.c~possible-bug-fix-in-ehci-hcd drivers/usb/host/ehci-q.c
--- a/drivers/usb/host/ehci-q.c~possible-bug-fix-in-ehci-hcd
+++ a/drivers/usb/host/ehci-q.c
@@ -756,8 +756,14 @@ qh_make (
 			info1 |= 1 << 14;	/* toggle from qtd */
 			info2 |= (EHCI_TUNE_MULT_HS << 30);
 		} else if (type == PIPE_BULK) {
+			struct usb_device_descriptor *desc = &urb->dev->descriptor;
 			info1 |= (EHCI_TUNE_RL_HS << 28);
-			info1 |= 512 << 16;	/* usb2 fixed maxpacket */
+			/* Special hook for SQN11x0 */
+			if (desc->idVendor == 0x148e && desc->idProduct == 0x0900) {
+				info1 |= max_packet (maxp) << 16;
+			} else {
+				info1 |= 512 << 16;	/* usb2 fixed maxpacket */
+			}
 			info2 |= (EHCI_TUNE_MULT_HS << 30);
 		} else {		/* PIPE_INTERRUPT */
 			info1 |= max_packet (maxp) << 16;
_

Patches currently in -mm which might be from andy@xxxxxxxxxxxx are

origin.patch
usb-yet-another-dell-wireless-cdma-evdo-modem.patch
usb-ehci-tolerates-some-buggy-devices.patch
possible-bug-fix-in-ehci-hcd.patch
possible-bug-fix-in-ehci-hcd-checkpatch-fixes.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux