Subject: Re: PCI mode probe [was Re: INSTALL kernel support ]
To: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
From: Jarkko Torppa <torppa@cute.fi>
List: port-i386
Date: 12/09/1997 22:22:33
> Here is an updated patch to the "Compaq PCI configuration problem".
> It's close to what I'd call a final solution. There are only minor
> unresolved questions:
> -Does it work at all?

Nope :(

> Index: pci_machdep.c
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/i386/pci/pci_machdep.c,v
> retrieving revision 1.28
....
> > /*#ifdef DEBUG*/
> > 		printf("pci_mode_detect: mode 1 enable failed (%x)\n",
> > 		       val);
> > /*#endif*/
> > 		val = inl(PCI_MODE1_DATA_REG);

At this point PCI_VENDOR(val) and PCI_PRODUCT(val) are both 0xFFFF.

> > 		if (PCI_VENDOR(val) == PCI_VENDOR_COMPAQ) {

so we newer get here

Tested on Compaq prosignia/500
...
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x0e11 product 0x1000 (rev. 0x01)
-- 
 Jarkko.Torppa@cute.fi     +358-9-34871220         Cute Communications Oy