Re: [PATCH 2.6.15-rc5-mm3] Remove duplicated PCI id

From: Grant Coady
Date: Wed Dec 21 2005 - 16:40:38 EST


On Wed, 21 Dec 2005 16:19:41 +0100, Takashi Iwai <tiwai@xxxxxxx> wrote:

>The patch removes the duplicated PCI ID entry in pci_ids.h.
>
>Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
>
>---
> pci_ids.h | 2 --
> 1 files changed, 2 deletions(-)
>
>--- linux-2.6.15-rc5/include/linux/pci_ids.h 2005-12-21 15:58:57.000000000 +0100
>+++ linux-2.6.15-rc5/include/linux/pci_ids.h 2005-12-21 15:59:13.000000000 +0100
>@@ -502,8 +502,6 @@
> #define PCI_DEVICE_ID_AMD_CS5536_UOC 0x2097
> #define PCI_DEVICE_ID_AMD_CS5536_IDE 0x209A
>
>-#define PCI_DEVICE_ID_AMD_CS5536_IDE 0x209A
>-
> #define PCI_VENDOR_ID_TRIDENT 0x1023
> #define PCI_DEVICE_ID_TRIDENT_4DWAVE_DX 0x2000
> #define PCI_DEVICE_ID_TRIDENT_4DWAVE_NX 0x2001

I just unpacked fresh 2.67.15-rc5, -rc5-mm3 and -rc6, only -rc5-mm3 seems
to have duplicated ID entries, for which a patch was sent on
http://lkml.org/lkml/2005/11/23/528 against linux-2.6.15-rc2-mm1
and that patch still applies to rc5-mm3 with a one line offset.

Current pci_ids.h status:

grant@sempro:~/linux$ do-device-id linux-2.6.15-rc5
find pci_ids defined
find symbols in source tree
find source defined symbols files
summary, line counts:
1796 symbols-pci_ids.h-define
0 symbols-pci_ids.h-dups
2193 symbols-pci_ids.h-new
2193 symbols-pci_ids.h-orig
1932 symbols-source-all
433 symbols-source-define
104 symbols-source-define-files
1214 symbols-source-files-include-pci.h
29 symbols-source-files-include-pci_ids.h
grant@sempro:~/linux$ do-device-id linux-2.6.15-rc6
find pci_ids defined
find symbols in source tree
find source defined symbols files
summary, line counts:
1797 symbols-pci_ids.h-define
0 symbols-pci_ids.h-dups
2194 symbols-pci_ids.h-new
2194 symbols-pci_ids.h-orig
1933 symbols-source-all
433 symbols-source-define
104 symbols-source-define-files
1214 symbols-source-files-include-pci.h
29 symbols-source-files-include-pci_ids.h
grant@sempro:~/linux$ do-device-id linux-2.6.15-rc5-mm3/
find pci_ids defined
find symbols in source tree
find source defined symbols files
summary, line counts:
1812 symbols-pci_ids.h-define
2 symbols-pci_ids.h-dups
2217 symbols-pci_ids.h-new
2217 symbols-pci_ids.h-orig
2106 symbols-source-all
2092 symbols-source-define
112 symbols-source-define-files
1253 symbols-source-files-include-pci.h
37 symbols-source-files-include-pci_ids.h
grant@sempro:~/linux$ cat symbols-pci_ids.h-dups
PCI_DEVICE_ID_AMD_CS5536_IDE
PCI_DEVICE_ID_NS_CS5535_IDE

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