* NVIDIA support.

svn path=/nixos/trunk/; revision=10409
This commit is contained in:
Eelco Dolstra 2008-01-30 14:53:06 +00:00
parent 8e94f3ad67
commit 8ea2ce37c8

View File

@ -113,6 +113,10 @@ sub pciCheck {
$device eq "0x7125" ||
$device eq "0x7128"
);
# Assume that all NVIDIA cards are supported by the NVIDIA driver.
# There may be exceptions (e.g. old cards).
$videoDriver = "nvidia" if $vendor eq "0x10de" && $class =~ /^0x03/;
}
foreach my $path (glob "/sys/bus/pci/devices/*") {