diff options
author | ache <ache@FreeBSD.org> | 1999-06-09 11:46:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-06-09 11:46:43 +0000 |
commit | 1f64af5e02f02ea0840e4ac981b266f200f6b5d5 (patch) | |
tree | d0dd5b6bc21c24a82bd7ef532264f0a354a44037 /sys | |
parent | 8da82e881eb07f24088a915f2ca871da4fca4525 (diff) | |
download | FreeBSD-src-1f64af5e02f02ea0840e4ac981b266f200f6b5d5.zip FreeBSD-src-1f64af5e02f02ea0840e4ac981b266f200f6b5d5.tar.gz |
Add detection code for NVidia Riva 128,TNT,TNT2
(TNT2 from me)
PR: 12094
Submitted by: Ilya Naumov camel@avias.com
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/pcisupport.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c index 653d8ea..8ff939c 100644 --- a/sys/pci/pcisupport.c +++ b/sys/pci/pcisupport.c @@ -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) { |