Subject: Re: Problem with cardbus install netbsd on laptop
To: None <port-i386@netbsd.org>
From: Aymeric Vincent <Aymeric.Vincent@labri.u-bordeaux.fr>
List: port-i386
Date: 01/05/2001 09:46:28
pascal auillans <auillans@labri.u-bordeaux.fr> writes:
> I tryed to install NetBSD on a laptop compaq presario 1200 with a
> network card 3com 10/100 PCMCIA but I cant get the network card to work
> it seems that there is a problem with the cardbus. My sound card and my
> network card have the same irq.
The problem was related to the intr_fixup stuff, which didn't
recognize the new ICU chip (interrupt controller) in Pascal's laptop.
The following patch fixes the problem, by initializing the 82C686 as
if it were a 82C586.
I shall commit this patch soon, unless someone objects because he/she
is working on better support.
regards,
Aymeric
PS: the patch was tested and works on Pascal's laptop.
Index: pci_intr_fixup.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.10
diff -u -r1.10 pci_intr_fixup.c
--- pci_intr_fixup.c 2000/08/10 21:18:27 1.10
+++ pci_intr_fixup.c 2001/01/05 08:43:20
@@ -142,7 +142,9 @@
opti82c700_init },
{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT82C586_ISA,
- via82c586_init, },
+ via82c586_init },
+ { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT82C686A_ISA,
+ via82c586_init },
{ PCI_VENDOR_SIS, PCI_PRODUCT_SIS_85C503,
sis85c503_init },