lkml.org 
[lkml]   [2002]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] USB OHCI powerbook fix (v2.5.4)
The patch below fixes a compile problem in the USB OHCI HCD driver on
powerbooks, namely that the ohci_hcd structure doesn't have an irq
member.

Paul.

diff -urN linux-2.5/drivers/usb/hcd/ohci-hcd.c pmac-2.5/drivers/usb/hcd/ohci-hcd.c
--- linux-2.5/drivers/usb/hcd/ohci-hcd.c Sun Feb 10 20:59:48 2002
+++ pmac-2.5/drivers/usb/hcd/ohci-hcd.c Mon Feb 11 18:47:58 2002
@@ -662,7 +662,7 @@

#ifdef CONFIG_PMAC_PBOOK
if (_machine == _MACH_Pmac)
- disable_irq (ohci->irq);
+ disable_irq (hcd->pdev->irq);
/* else, 2.4 assumes shared irqs -- don't disable */
#endif

@@ -836,7 +836,7 @@

#ifdef CONFIG_PMAC_PBOOK
if (_machine == _MACH_Pmac)
- enable_irq (ohci->irq);
+ enable_irq (hcd->pdev->irq);
#endif
if (ohci->hcca->done_head)
dl_done_list (ohci, dl_reverse_done_list (ohci));
-
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:24    [W:0.049 / U:2.164 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site