lkml.org 
[lkml]   [2005]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2.6.13-rc4 1/1] pci_ids: patch for Intel ICH7R
Date
On Sun, 11 Sep 2005 04:51:10 -0400, Jeff Garzik <jgarzik@pobox.com> wrote:

>Grant Coady wrote:
>> Just ran the discovery script on 2.6.13.mm2, there's roughly 1609
>> symbols unused in pci_ids.h, another 1030 are defined throughout the
>> source tree, leaving 729 in pci_ids.h. Total unique symbols is 1030.
>> Not counted are macro defined symbols:
>>
>> PCI_DEVICE_ID_##id
>> PCI_DEVICE_ID_##v##_##d
>> PCI_DEVICE_ID_BROOKTREE_##chip
>> PCI_VENDOR_ID_##v
>>
>> from:
>>
>> linux-2.6.13-mm2/drivers/video/cirrusfb.c
>> linux-2.6.13-mm2/sound/oss/ymfpci.c
>> linux-2.6.13-mm2/sound/pci/bt87x.c
>>
>>
>> What is the goal here? Is a comment stripped, non-duplicate pci_ids.h
>> with a reference to source site okay?
>
>Not sure what your last question is asking. The current goal is to
>remove completely unused symbols from pci_ids.h, nothing more.

Okay, ignore this part, I was thinking something else.
>
>
>> Should the various distributed defines be collected to the one header
>> file and that header be include'd to those files? It seems pci_ids.h
>> is redundant.
>
>pci_ids.h should be the place where PCI IDs (class, vendor, device) are
>collected.

Okay.
>
>Long term, we should be able to trim a lot of device ids, since they are
>usually only used in one place.

Okay, dunno when, need to fix script and test some more, it's eating
live symbols :( Long time since I looked at this area.

Grant.

-
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/

\
 
 \ /
  Last update: 2005-09-11 22:43    [W:0.075 / U:1.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site