From: Paul Mackerras <paulus@samba.org>
To: linux-kernel@vger.kernel.org, dbrownell@users.sourceforge.net
Subject: [PATCH] USB OHCI powerbook fix (v2.5.4)
Date: Wed, 13 Feb 2002 21:24:42 +1100 (EST) [thread overview]
Message-ID: <15466.16106.524471.360281@argo.ozlabs.ibm.com> (raw)
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));
reply other threads:[~2002-02-13 10:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15466.16106.524471.360281@argo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=dbrownell@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®