Subject: Two vga drivers
To: None <current-users@netbsd.org>
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
List: current-users
Date: 03/09/2003 17:20:34
Is it possible to have to vga drivers configured at the same time (i386)?
Nothing in the man pages tells me this isn't possible, but the second vga
card never gets configured...
I use the following config:
>pci0 at mainbus? bus ?
>pci1 at ppb? bus ?
>
># PCI bridges
>ppb* at pci? dev ? function ? # PCI-PCI bridges
>
>agp* at pchb?
>
># wscons
>vga0 at pci0 dev ? function ?
>vga1 at pci1 dev 0 function 0
>wsdisplay* at vga? console ?
And this is what I get in the dmesg:
>pci0 at mainbus0 bus 0: configuration mode 1
>pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
>agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
>ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
>pci1 at ppb0 bus 1
>pci1: i/o space, memory space enabled
>Nvidia Corporation RIVA TNT2 (VGA display, revision 0x11) at pci1 dev 0 function
> 0 not configured
>vga0 at pci0 dev 14 function 0: S3 ViRGE (rev. 0x06)
>wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
And here is a verbose scanpci output:
>pci bus 0x0000 cardnum 0x0e function 0x00: vendor 0x5333 device 0x5631
> S3 Inc. 86c325 [ViRGE]
> STATUS 0x0200 COMMAND 0x0007
> CLASS 0x03 0x00 0x00 REVISION 0x06
> BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
> BASE0 0xf0000000 addr 0xf0000000 MEM
> MAX_LAT 0xff MIN_GNT 0x04 INT_PIN 0x01 INT_LINE 0x0a
>
>pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x0028
> nVidia Corporation NV5 [Riva TnT2]
> CardVendor 0x1048 card 0x0c20 (Elsa AG, Card unknown)
> STATUS 0x02b0 COMMAND 0x0004
> CLASS 0x03 0x00 0x00 REVISION 0x11
> BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
> BASE0 0xf5000000 addr 0xf5000000 MEM
> BASE1 0xfc000008 addr 0xfc000000 MEM PREFETCHABLE
> MAX_LAT 0x01 MIN_GNT 0x05 INT_PIN 0x01 INT_LINE 0x0b
> BYTE_0 0x48 BYTE_1 0x10 BYTE_2 0x20 BYTE_3 0x0c
Any ideas?