Subject: Re: Cardbus/PCI IRQ Problem.
To: None <tech-kern@netbsd.org>
From: Hakan Olsson <ho@crt.se>
List: tech-kern
Date: 07/06/2000 21:52:57
Just thought to mention I think I've solved the problem;
Index: pci_intr_fixup.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.5
diff -u -r1.5 pci_intr_fixup.c
--- pci_intr_fixup.c 2000/04/28 17:15:15 1.5
+++ pci_intr_fixup.c 2000/07/06 19:44:53
@@ -493,7 +493,7 @@
printf(" device vendor product pin PIRQ IRQ stage\n");
printf("--------------------------------------------\n");
#endif
- pci_device_foreach(pc, 0, pciintr_do_header_fixup);
+ pci_device_foreach(pc, pcibios_max_bus, pciintr_do_header_fixup);
#ifdef PCIBIOSVERBOSE
printf("--------------------------------------------\n");
#endif
At least now the system configures cbb0, cbb1, and the wi0 card correctly.
Was(/is) there some obscure reason just to fixup stuff on bus 0 ?
//Håkan
On Wed, 5 Jul 2000, Hakan Olsson wrote:
> Hi.
>
> I'm a bit unsure if this is the correct forum for this, but anyway.. here
> goes.
>
> I have problems getting a PCI-Cardbus brigde (cbb0/1) configured correctly
> under current kernels (trying to get the Wavelan card working).
>
...
--
Håkan Olsson <ho@crt.se> (+46) 708 437 337 Carlstedt Research
Unix, Networking, Security (+46) 31 701 4264 & Technology AB