Subject: Re: Virtual PC 5 will not find PCI bus
To: Joerg Klemenz <joerg@gmx.net>
From: =?ISO-2022-JP?B?GyRCJF8kTiQmJGkbKEIgGyRCJF4bKEI=?= =?ISO-2022-JP?B?GyRCJDMkSBsoQg==?= <makoto@hauN.org>
List: port-i386
Date: 09/18/2002 22:09:53
|> In <20020918145306.GA2665@evo.infnet>
|> Joerg = Joerg Klemenz <joerg@gmx.net> wrote:

Joerg> Unfortunatly NetBSD does not recognize the PCI bus in the emulated
Joerg> system and consequently does not find the network adapter.
Joerg> The same error occurs with NetBSD 1.5 and VIrtual PC 5.

It is already fixed on -current and 1.5 branch (post-1.5.3).
Try following patch.  Since the release branch was already
freezed for 1.6 release, I did not commit it for that
branch.  Please wait for a while.

Note that our tlp driver panics on VPC5.  A workaround is to
use old de driver instead, i.e. remove tlp* at pci? line and add

de*	at pci? dev ? function ?

to your config file.

-- 
Minoura Makoto <minoura@netbsd.org>


Index: pci_machdep.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/pci/pci_machdep.c,v
retrieving revision 1.36.2.1
diff -u -r1.36.2.1 pci_machdep.c
--- pci_machdep.c	2000/08/10 22:25:57	1.36.2.1
+++ pci_machdep.c	2002/09/09 07:42:12
@@ -142,6 +142,8 @@
 	_qe(0, 0, 0, PCI_VENDOR_COMPAQ, PCI_PRODUCT_COMPAQ_TRIFLEX4),
 	/* Triton needed for Connectix Virtual PC */
 	_qe(0, 0, 0, PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82437FX),
+	/* Connectix Virtual PC 5 has a 440BX */
+	_qe(0, 0, 0, PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82443BX_NOAGP),
 	{0, 0xffffffff} /* patchable */
 };
 #undef _m1tag