* NVIDIA support.
svn path=/nixos/trunk/; revision=10409
This commit is contained in:
parent
8e94f3ad67
commit
8ea2ce37c8
@ -113,6 +113,10 @@ sub pciCheck {
|
|||||||
$device eq "0x7125" ||
|
$device eq "0x7125" ||
|
||||||
$device eq "0x7128"
|
$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/*") {
|
foreach my $path (glob "/sys/bus/pci/devices/*") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user