lkml.org 
[lkml]   [2002]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.5] set pci dma mask for ohci-hcd
Index: linux-2.5.33/drivers/usb/host/ohci-pci.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.33/drivers/usb/host/ohci-pci.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ohci-pci.c
--- linux-2.5.33/drivers/usb/host/ohci-pci.c 31 Aug 2002 22:30:41 -0000 1.1.1.1
+++ linux-2.5.33/drivers/usb/host/ohci-pci.c 1 Sep 2002 12:41:23 -0000
@@ -36,6 +36,11 @@
int ret;

if (hcd->pdev) {
+ if (pci_set_dma_mask(hcd->pdev, 0xFFFFFFFF)) {
+ err("couldn't set PCI dma mask");
+ return -EIO;
+ }
+
ohci->hcca = pci_alloc_consistent (hcd->pdev,
sizeof *ohci->hcca, &ohci->hcca_dma);
if (!ohci->hcca)
--
function.linuxpower.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.017 / U:3.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site