1 --- a/drivers/usb/host/ohci.h
2 +++ b/drivers/usb/host/ohci.h
3 @@ -114,7 +114,7 @@ struct td {
4 /* PSW is only for ISO. Only 1 PSW entry is used, but on
5 * big-endian PPC hardware that's the second entry.
11 /* rest are purely for the driver's use */
12 --- a/drivers/usb/host/ohci-hcd.c
13 +++ b/drivers/usb/host/ohci-hcd.c
14 @@ -497,6 +497,7 @@ static int ohci_init (struct ohci_hcd *o
17 struct usb_hcd *hcd = ohci_to_hcd(ohci);
20 if (distrust_firmware)
21 ohci->flags |= OHCI_QUIRK_HUB_POWER;
22 @@ -550,11 +551,13 @@ static int ohci_init (struct ohci_hcd *o
26 - ohci->hcca = dma_alloc_coherent (hcd->self.controller,
27 - sizeof *ohci->hcca, &ohci->hcca_dma, 0);
28 + hcca_area = ohci_readl(ohci, &ohci->regs->hcca);
29 + ohci->hcca = ioremap_nocache(hcca_area, sizeof *ohci->hcca);
33 + ohci->hcca_dma = hcca_area;
35 if ((ret = ohci_mem_init (ohci)) < 0)
38 @@ -572,6 +575,7 @@ static int ohci_init (struct ohci_hcd *o
40 static int ohci_run (struct ohci_hcd *ohci)
44 int first = ohci->fminterval == 0;
45 struct usb_hcd *hcd = ohci_to_hcd(ohci);
46 @@ -622,6 +626,8 @@ static int ohci_run (struct ohci_hcd *oh
49 memset (ohci->hcca, 0, sizeof (struct ohci_hcca));
50 + for (i = 0; i < NUM_INTS; i++)
51 + ohci->hcca->int_table[i] = 0;
53 /* 2msec timelimit here means no irqs/preempt */
54 spin_lock_irq (&ohci->lock);
55 @@ -909,9 +915,6 @@ static void ohci_stop (struct usb_hcd *h
56 remove_debug_files (ohci);
57 ohci_mem_cleanup (ohci);
59 - dma_free_coherent (hcd->self.controller,
61 - ohci->hcca, ohci->hcca_dma);