linux-mips
[Top] [All Lists]

[PATCH 02/10] Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 02/10] Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Mon, 4 Jan 2010 17:16:44 +0800
Cc: linux-mips@linux-mips.org, yanh@lemote.com, huhb@lemote.com, zhangfx@lemote.com, Wu Zhangjin <wuzhangjin@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=u8DlvqMJjU+JKh+Ex4AONWqflTUHx6HLLvmRo8A3NEs=; b=YOeniC9UuBzfhFiLfdkfGYQiXTSLU8F5s+m/oAoANG4hwHOgi814uxcL9l3Lt6l5Uj bXI4AuSbgJV9fFH02nfMTlnpVg+1kjozZC5FS47x/ByDOizQyruFRFaTVaqY5osAsuns wR0Vczmfbz0z8AUz4tx79rTeoXR+xQ2m/s4Fs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=kzr2Ocm/XJH1Gak9DyBtXiZVdlhhl5FCp+GFxBreX4xLO4oC+3bo4P4xmr2xDXCFSD /T84O7p+4xA7jS8vs6Ag7AzblgfiVYEpwdgVYGU0GM5hTut9OtYZSBcM6kTo3cbV+TSv CLYuy4mRb8Y7a3/w/pODJgygOUW9etG8HQ/Tg=
In-reply-to: <f4aeb125cb030f10d34966febfe9715874d52ab2.1262596493.git.wuzhangjin@gmail.com>
In-reply-to: <cover.1262596493.git.wuzhangjin@gmail.com>
References: <cover.1262586650.git.wuzhangjin@gmail.com> <f4aeb125cb030f10d34966febfe9715874d52ab2.1262596493.git.wuzhangjin@gmail.com>
References: <cover.1262596493.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

Without this patch, when copying large amounts of data between the USB
storage devices and the hard disk, the USB device will disconnect
regularly.

Signed-off-by: Hu Hongbing <huhb@lemote.com>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/pci/fixup-lemote2f.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/pci/fixup-lemote2f.c b/arch/mips/pci/fixup-lemote2f.c
index caf2ede..4b9768d 100644
--- a/arch/mips/pci/fixup-lemote2f.c
+++ b/arch/mips/pci/fixup-lemote2f.c
@@ -131,7 +131,7 @@ static void __init loongson_cs5536_ehci_fixup(struct 
pci_dev *pdev)
 
        /* Serial short detect enable */
        _rdmsr(USB_MSR_REG(USB_CONFIG), &hi, &lo);
-       _wrmsr(USB_MSR_REG(USB_CONFIG), (1 << 1) | (1 << 2) | (1 << 3), lo);
+       _wrmsr(USB_MSR_REG(USB_CONFIG), (1 << 1) | (1 << 3), lo);
 
        /* setting the USB2.0 micro frame length */
        pci_write_config_dword(pdev, PCI_EHCI_FLADJ_REG, 0x2000);
-- 
1.6.5.6


<Prev in Thread] Current Thread [Next in Thread>