On Wed, Feb 13, 2002 at 05:55:30PM -0800, Greg KH wrote:
> [EMAIL PROTECTED], 2002-02-13 17:12:38-08:00, [EMAIL PROTECTED]
> [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.
>
> drivers/usb/hcd/ohci-hcd.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.331 -> 1.332
# drivers/usb/hcd/ohci-hcd.c 1.4 -> 1.5
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/02/13 [EMAIL PROTECTED] 1.332
# [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 -Nru a/drivers/usb/hcd/ohci-hcd.c b/drivers/usb/hcd/ohci-hcd.c
--- a/drivers/usb/hcd/ohci-hcd.c Wed Feb 13 17:51:00 2002
+++ b/drivers/usb/hcd/ohci-hcd.c Wed Feb 13 17:51:00 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));
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel