]> code.ossystems Code Review - openembedded-core.git/blob
a9c1d79097be0a76547a85d92199c229b924af2b
[openembedded-core.git] /
1 From: Alek Du <alek.du@intel.com>
2 Date: Mon, 19 Apr 2010 12:39:37 -0800
3 Subject: [PATCH] ehci: Only enable QH prefetch on Moorestown
4 Patch-mainline: when mrst code is merged?
5
6 Hardware QH prefetch feature is found to be buggy on some none-moorestown
7 platforms. Disable this feature on other platforms at the moment.
8
9 Signed-off-by: Alek Du <alek.du@intel.com>
10 ---
11  drivers/usb/host/ehci-hcd.c |    2 ++
12  1 file changed, 2 insertions(+)
13
14 --- a/drivers/usb/host/ehci-hcd.c
15 +++ b/drivers/usb/host/ehci-hcd.c
16 @@ -595,7 +595,9 @@ static int ehci_init(struct usb_hcd *hcd
17         }
18         if (HCC_HW_PREFETCH(hcc_params)) {
19                 ehci_dbg(ehci, "HW prefetch capable %d\n", park);
20 +#ifdef CONFIG_X86_MRST
21                 temp |= (CMD_ASPE | CMD_PSPE);
22 +#endif
23         }
24  
25         if (HCC_CANPARK(hcc_params)) {