Alan,
Your code below seems to be missing a curly bracket. A closing bracket
would be missing the block beginning with "if (pdev->vendor". If not the
first, then an opening bracket would be missing for the block beginning with
"if (pci_read_config".
Please correct and repost if necessary. I was able to manually patch
"ehci-pci.c" with the lines as originally provided. Although I am
recompiling now, I will likely have problems if a bracket is missing.
Thanks,
-Clay
.
.
.
.
.
Index: l2615/drivers/usb/host/ehci-pci.c
===================================================================
--- l2615.orig/drivers/usb/host/ehci-pci.c
+++ l2615/drivers/usb/host/ehci-pci.c
@@ -65,6 +65,14 @@ static int ehci_pci_reinit(struct ehci_h
int retval;
unsigned count = 256/4;
+ /* Set VIA no-shutdown-on-babble config flag */
+ if (pdev->vendor == PCI_VENDOR_ID_VIA) {
+ u8 val;
+
+ if (pci_read_config_byte(pdev, 0x40, &val) == 0)
+ pci_write_config_byte(pdev, 0x40, val | 0x40);
+ }
+
/* optional debug port, normally in the first BAR */
temp = pci_find_capability(pdev, 0x0a);
if (temp) {
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users