On Tue, 19 Jul 2005 12:20:46 -0700, "Mark Overby" <[EMAIL PROTECTED]> wrote:

> [...] They [affected TDs] are namely the
> Isochronous Transaction Descriptors (iTD) and Split-transaction
> Isochronous Transfer Descriptors (siTD) used in the periodic schedule;
> and Queue Heads (QH) used in the periodic and asynchronous schedules.
> Note that data buffers, Queue Element Transfer Descriptors (qTD), Frame
> Span Traversal Nodes (FSTN) and the Periodic Frame List are not affected
> by this restriction.

Darn, this is very unfortunate, because I saw some bizarre problems on
HP Viper platform with regular storage transfers (over Bulk transport).
But obviously that cannot be it. Oh well. I'll keep looking.

> We would request that this patch be included.

Looks good, but the patch was line-wrapped. How about this (with retval
actually used this time):

diff -urp -X dontdiff linux-2.6.12/drivers/usb/host/ehci-hcd.c 
linux-2.6.12-lem/drivers/usb/host/ehci-hcd.c
--- linux-2.6.12/drivers/usb/host/ehci-hcd.c    2005-06-21 12:58:47.000000000 
-0700
+++ linux-2.6.12-lem/drivers/usb/host/ehci-hcd.c        2005-07-19 
12:43:15.000000000 -0700
@@ -551,6 +551,23 @@ static int ehci_start (struct usb_hcd *h
 
                /* help hc dma work well with cachelines */
                pci_set_mwi (pdev);
+
+               /* chip-specific init */
+               switch (pdev->vendor) {
+               case PCI_VENDOR_ID_NVIDIA:
+                       switch (pdev->device) {
+                       case 0x003c: /* MCP04 */
+                       case 0x005b: /* CK804 */
+                       case 0x00d8: /* CK8 */
+                       case 0x00e8: /* CK8S */
+                               /* >2GB Workaround for some of NVIDIA's EHCI 
controllers. */
+                               if ((retval = pci_set_consistent_dma_mask(pdev, 
0x7fffffff)) != 0) {
+                                       printk(KERN_WARNING "Setting DMA mask 
workaround failed (%d). This is harmless unless the system has 2GB or more 
RAM.\n", retval);
+                               }
+                               break;
+                       }
+                       break;
+               }
        }
 #endif
 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to