Subject: Re: Libretto L2 USB IRQ Mapping
To: None <cjs@cynic.net>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: tech-kern
Date: 04/21/2002 16:11:43
Hi,
I have got Libretto L3. I also have same problem.
Next patch seems fixed USB problem.After I applied it,
USB mouse works with X.
I think next patch is adhoc.
How about trying next patch?
Regards
---
Masanori Kanaoka kanaoka@ann.hi-ho.ne.jp
Index: sys/arch/i386/pci/pci_intr_fixup.c
===================================================================
RCS file: /ftp/cvs/syssrc/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.19
diff -u -r1.19 pci_intr_fixup.c
--- sys/arch/i386/pci/pci_intr_fixup.c 2001/12/07 08:07:57 1.19
+++ sys/arch/i386/pci/pci_intr_fixup.c 2002/04/21 06:32:24
@@ -442,6 +442,16 @@
#endif
continue;
}
+
+ /* for Libretto L2/L3 USB hack */
+ if (l->clink == 6) {
+ l->irq = 7;
+ pciirq |= 1 << l->irq;
+ printf("pciitr_link_fixup: PIRQ 0x%02x already "
+ "connected to IRQ %d\n", l->clink, l->irq);
+ continue;
+ }
+
/*
* Interrupt isn't connected. Attempt to assign it to an IRQ.
*/