Add detection code for NVidia Riva 128,TNT,TNT2
(TNT2 from me) PR: 12094 Submitted by: Ilya Naumov camel@avias.com
This commit is contained in:
parent
177bf8278c
commit
97a83933e5
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
**
|
||||
** $Id: pcisupport.c,v 1.116 1999/05/27 12:26:50 yokota Exp $
|
||||
** $Id: pcisupport.c,v 1.117 1999/06/04 02:38:18 mharo Exp $
|
||||
**
|
||||
** Device driver for DEC/INTEL PCI chipsets.
|
||||
**
|
||||
@ -1500,6 +1500,24 @@ static const char* vga_match(device_t dev)
|
||||
chip = "PerMedia"; break;
|
||||
}
|
||||
break;
|
||||
case 0x10de:
|
||||
vendor = "NVidia";
|
||||
type = "graphics accelerator";
|
||||
switch (id >> 16) {
|
||||
case 0x0020:
|
||||
chip = "Riva TNT"; break;
|
||||
case 0x0028:
|
||||
chip = "Riva TNT2"; break;
|
||||
}
|
||||
break;
|
||||
case 0x12d2:
|
||||
vendor = "NVidia";
|
||||
type = "graphics accelerator";
|
||||
switch (id >> 16) {
|
||||
case 0x0018:
|
||||
chip = "Riva128"; break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (vendor && chip) {
|
||||
|
Loading…
Reference in New Issue
Block a user