2005-11-21 22:27:39

by David Fox

[permalink] [raw]
Subject: 2.6.15-rc2 pci_ids.h cleanup is a pain

I'm sure I'm not the only person that applies patches to the kernel that
use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
would like to see the PCI ids that were removed simply because the don't
occur in the main kernel source restored. Is there a rationale for
removing them that I'm not aware of?


2005-11-21 22:31:06

by Phil Oester

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

On Mon, Nov 21, 2005 at 02:27:23PM -0800, David Fox wrote:
> I'm sure I'm not the only person that applies patches to the kernel that
> use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
> would like to see the PCI ids that were removed simply because the don't
> occur in the main kernel source restored. Is there a rationale for
> removing them that I'm not aware of?

As long as you are patching the kernel, is there some reason you can't
add back the PCI IDs you require?

Phil

2005-11-21 22:44:54

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

On Mon, Nov 21, 2005 at 02:27:23PM -0800, David Fox wrote:
> I'm sure I'm not the only person that applies patches to the kernel that
> use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
> would like to see the PCI ids that were removed simply because the don't
> occur in the main kernel source restored. Is there a rationale for
> removing them that I'm not aware of?

They were not being used. Why would you want them in there?

And, what pending patches do you have that patched this file? Is there
a reason you have not submitted it for inclusion?

thanks,

greg k-h

2005-11-23 00:25:36

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

Greg KH <[email protected]> wrote:
>
> On Mon, Nov 21, 2005 at 02:27:23PM -0800, David Fox wrote:
> > I'm sure I'm not the only person that applies patches to the kernel that
> > use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
> > would like to see the PCI ids that were removed simply because the don't
> > occur in the main kernel source restored. Is there a rationale for
> > removing them that I'm not aware of?
>
> They were not being used. Why would you want them in there?

Because they contained useful information which had been accumulated by
many people over a long period of time.

Throwing that information away seemed rather pointless, especially as the
cost of retaining it was so low.

2005-11-23 01:51:59

by Grant Coady

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

Hi Andrew, Greg,

On Tue, 22 Nov 2005 16:25:58 -0800, Andrew Morton <[email protected]> wrote:

>Greg KH <[email protected]> wrote:
>>
>> On Mon, Nov 21, 2005 at 02:27:23PM -0800, David Fox wrote:
>> > I'm sure I'm not the only person that applies patches to the kernel that
>> > use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
>> > would like to see the PCI ids that were removed simply because the don't
>> > occur in the main kernel source restored. Is there a rationale for
>> > removing them that I'm not aware of?
>>
>> They were not being used. Why would you want them in there?
>
>Because they contained useful information which had been accumulated by
>many people over a long period of time.
>
>Throwing that information away seemed rather pointless, especially as the
>cost of retaining it was so low.

There's an out-of-tree reference, the pci.ids website, that carries
this information, do we need the reference info in the kernel as well?

So far two people raised an objection, the other wants to maintain
an out-of-tree driver, D. Fox didn't say why he needs the symbols.

There's some other cleanups to be done yet, as >100 files define
own PCI_* symbols instead of referencing the header...


Would you prefer to revert the patches or rather me put the removed
symbols back again via a new patch series?

Cheers,
Grant.

2005-11-23 02:13:22

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

Grant Coady <[email protected]> wrote:
>
> Would you prefer to revert the patches or rather me put the removed
> symbols back again via a new patch series?

It's probably too late now - I'm just having a little grump.


2005-11-23 04:19:34

by Dave Jones

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

On Wed, Nov 23, 2005 at 12:51:45PM +1100, Grant Coady wrote:
> Hi Andrew, Greg,
>
> On Tue, 22 Nov 2005 16:25:58 -0800, Andrew Morton <[email protected]> wrote:
>
> >Greg KH <[email protected]> wrote:
> >>
> >> On Mon, Nov 21, 2005 at 02:27:23PM -0800, David Fox wrote:
> >> > I'm sure I'm not the only person that applies patches to the kernel that
> >> > use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
> >> > would like to see the PCI ids that were removed simply because the don't
> >> > occur in the main kernel source restored. Is there a rationale for
> >> > removing them that I'm not aware of?
> >>
> >> They were not being used. Why would you want them in there?
> >
> >Because they contained useful information which had been accumulated by
> >many people over a long period of time.
> >
> >Throwing that information away seemed rather pointless, especially as the
> >cost of retaining it was so low.
>
> There's an out-of-tree reference, the pci.ids website, that carries
> this information, do we need the reference info in the kernel as well?
>
> So far two people raised an objection, the other wants to maintain
> an out-of-tree driver, D. Fox didn't say why he needs the symbols.

Three. I already mentioned we broke the compilation of the
advansys driver because of this.

Dave

2005-11-23 07:55:29

by Grant Coady

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

On Tue, 22 Nov 2005 23:19:17 -0500, Dave Jones <[email protected]> wrote:

>Three. I already mentioned we broke the compilation of the
>advansys driver because of this.

Nah, two. Dave J. is the other, broken BROKEN driver, out of tree
for working driver, patches not in mainline?

I may have misunderstood... You want advansys back? Perhaps my
boo-boo for not checking with allyesconfig + BROKEN re: unused
symbols?

Grant.

2005-11-23 21:41:29

by Grant Coady

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

On Tue, 22 Nov 2005 23:19:17 -0500, Dave Jones <[email protected]> wrote:

>On Wed, Nov 23, 2005 at 12:51:45PM +1100, Grant Coady wrote:
> > Hi Andrew, Greg,
> >
> > On Tue, 22 Nov 2005 16:25:58 -0800, Andrew Morton <[email protected]> wrote:
> >
> > >Greg KH <[email protected]> wrote:
> > >>
> > >> On Mon, Nov 21, 2005 at 02:27:23PM -0800, David Fox wrote:
> > >> > I'm sure I'm not the only person that applies patches to the kernel that
> > >> > use some of the 500 plus PCI IDS eliminated from pci_ids.h by rc2. I
> > >> > would like to see the PCI ids that were removed simply because the don't
> > >> > occur in the main kernel source restored. Is there a rationale for
> > >> > removing them that I'm not aware of?
> > >>
> > >> They were not being used. Why would you want them in there?
> > >
> > >Because they contained useful information which had been accumulated by
> > >many people over a long period of time.
> > >
> > >Throwing that information away seemed rather pointless, especially as the
> > >cost of retaining it was so low.
> >
> > There's an out-of-tree reference, the pci.ids website, that carries
> > this information, do we need the reference info in the kernel as well?
> >
> > So far two people raised an objection, the other wants to maintain
> > an out-of-tree driver, D. Fox didn't say why he needs the symbols.
>
>Three. I already mentioned we broke the compilation of the
>advansys driver because of this.

Nope, advansys.* don't appear to use PCI_* Defines its own ASC_PCI*
instead?

Checked: linux-2.6.13.4, linux-2.6.15-rc2

Grant.

2005-11-24 04:01:37

by Dave Jones

[permalink] [raw]
Subject: Re: 2.6.15-rc2 pci_ids.h cleanup is a pain

On Thu, Nov 24, 2005 at 08:41:12AM +1100, Grant Coady wrote:

> >Three. I already mentioned we broke the compilation of the
> >advansys driver because of this.
>
> Nope, advansys.* don't appear to use PCI_* Defines its own ASC_PCI*
> instead?

I stand corrected.

Dave