2.5.51 - drivers/ide/pci/nvidia.c is broken

From: SL Baur (steve@kbuxd.necst.nec.co.jp)
Date: Tue Dec 10 2002 - 00:57:56 EST


  gcc-3.2 -Wp,-MD,drivers/ide/pci/.nvidia.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -Idrivers/ide -DKBUILD_BASENAME=nvidia -DKBUILD_MODNAME=nvidia -c -o drivers/ide/pci/nvidia.o drivers/ide/pci/nvidia.c
In file included from drivers/ide/pci/nvidia.c:29:
drivers/ide/pci/nvidia.h:35: `PCI_DEVICE_ID_NVIDIA_NFORCE_IDE' undeclared here (not in a function)
 ...

This symbol was removed from pci_ids.h when other NVIDIA symbols were
added. Was that a typo?

--- linus-2.5/include/linux/pci_ids.h.orig Tue Dec 10 12:39:12 2002
+++ linus-2.5/include/linux/pci_ids.h Tue Dec 10 14:39:19 2002
@@ -946,6 +946,7 @@
 #define PCI_DEVICE_ID_NVIDIA_QUADRO4_550XGL 0x017B
 #define PCI_DEVICE_ID_NVIDIA_QUADRO4_500_GOGL 0x017C
 #define PCI_DEVICE_ID_NVIDIA_IGEFORCE2 0x01a0
+#define PCI_DEVICE_ID_NVIDIA_NFORCE_IDE 0x01bc
 #define PCI_DEVICE_ID_NVIDIA_GEFORCE3 0x0200
 #define PCI_DEVICE_ID_NVIDIA_GEFORCE3_1 0x0201
 #define PCI_DEVICE_ID_NVIDIA_GEFORCE3_2 0x0202

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:16 EST