From 8ea2ce37c8c857914fb1d95142396ccad03f7cfa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Jan 2008 14:53:06 +0000 Subject: [PATCH] * NVIDIA support. svn path=/nixos/trunk/; revision=10409 --- installer/nixos-hardware-scan.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/installer/nixos-hardware-scan.pl b/installer/nixos-hardware-scan.pl index e96b5b44ee4..ae9d53bbf49 100644 --- a/installer/nixos-hardware-scan.pl +++ b/installer/nixos-hardware-scan.pl @@ -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/*") {