Hi,
This patch can be applied against 2.6.15-rc1 to add support to the
nvidiafb driver for a few obscure (yet on-the-market) nvidia
boards/chipsets, including various versions of the Geforce 6600 and 6200.
This patch has been tested and allows the above-mentioned boards to get
framebuffer console support.
Thanks!
-Calin
diff -urN linux-2.6/drivers/video/nvidia/nv_hw.c linux-2.6-stu/drivers/video/nvi dia/nv_hw.c
--- linux-2.6/drivers/video/nvidia/nv_hw.c 2005-10-28 01:02:08.000000000 +0 100
+++ linux-2.6-stu/drivers/video/nvidia/nv_hw.c 2005-11-22 12:14:30.000000000 +0 000
@@ -1231,6 +1231,7 @@
0x0608) | 0x00100000);
break;
case 0x0140:
+ case 0x00F0:
NV_WR32(par->PGRAPH, 0x0828,
0x0072cb77);
NV_WR32(par->PGRAPH, 0x082C,
diff -urN linux-2.6/drivers/video/nvidia/nvidia.c linux-2.6-stu/drivers/video/nv idia/nvidia.c
--- linux-2.6/drivers/video/nvidia/nvidia.c 2005-11-22 12:12:02.000000000 +0 000
+++ linux-2.6-stu/drivers/video/nvidia/nvidia.c 2005-11-22 12:11:56.000000000 +0 000
@@ -284,6 +284,14 @@
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_6200,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ {PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_6800_ALT1,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ {PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_6600_ALT1,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ {PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_6600_ALT2,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ {PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_6200_ALT1,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{PCI_VENDOR_ID_NVIDIA, 0x0252,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{PCI_VENDOR_ID_NVIDIA, 0x0313,
@@ -1476,6 +1484,7 @@
break;
case 0x0040:
case 0x00C0:
+ case 0x00F0:
case 0x0120:
case 0x0130:
case 0x0140:
diff -urN linux-2.6/include/linux/pci_ids.h linux-2.6-stu/include/linux/pci_ids. h
--- linux-2.6/include/linux/pci_ids.h 2005-11-22 12:12:03.000000000 +0000
+++ linux-2.6-stu/include/linux/pci_ids.h 2005-11-22 12:11:56.000000000 +0 000
@@ -1025,6 +1025,10 @@
#define PCI_DEVICE_ID_NVIDIA_NVENET_6 0x00e6
#define PCI_DEVICE_ID_NVIDIA_CK8S_AUDIO 0x00ea
#define PCI_DEVICE_ID_NVIDIA_NFORCE3S_SATA2 0x00ee
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_6800_ALT1 0x00f0
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_6600_ALT1 0x00f1
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_6600_ALT2 0x00f2
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_6200_ALT1 0x00f3
#define PCI_DEVICE_ID_NVIDIA_GEFORCE_SDR 0x0100
#define PCI_DEVICE_ID_NVIDIA_GEFORCE_DDR 0x0101
#define PCI_DEVICE_ID_NVIDIA_QUADRO 0x0103
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]