Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] pci_ids.h missing
@ 2012-01-15 19:24 vbr vbr
  2012-01-16  5:50 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: vbr vbr @ 2012-01-15 19:24 UTC (permalink / raw)
  To: buildroot

Hi,

pci_ids.h is missing from the include/linux directory in the staging area:

# ls output/staging/usr/include/linux/pci*.h
output/staging/usr/include/linux/pci.h
output/staging/usr/include/linux/pci_regs.h

Am I missing something in the buildroot configuration?

Thanks
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120115/531426f1/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] pci_ids.h missing
  2012-01-15 19:24 [Buildroot] pci_ids.h missing vbr vbr
@ 2012-01-16  5:50 ` Mike Frysinger
  2012-01-16 16:38   ` vbr vbr
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2012-01-16  5:50 UTC (permalink / raw)
  To: buildroot

On Sunday 15 January 2012 14:24:41 vbr vbr wrote:
> pci_ids.h is missing from the include/linux directory in the staging area:
> 
> # ls output/staging/usr/include/linux/pci*.h
> output/staging/usr/include/linux/pci.h
> output/staging/usr/include/linux/pci_regs.h
> 
> Am I missing something in the buildroot configuration?

upstream linux kernel doesn't ship it, thus buildroot does not
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120116/570ca36d/attachment.asc>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] pci_ids.h missing
  2012-01-16  5:50 ` Mike Frysinger
@ 2012-01-16 16:38   ` vbr vbr
  2012-01-16 17:32     ` vbr vbr
  2012-01-16 17:34     ` Arnout Vandecappelle
  0 siblings, 2 replies; 5+ messages in thread
From: vbr vbr @ 2012-01-16 16:38 UTC (permalink / raw)
  To: buildroot

Just downloaded and extracted a vanilla 2.6.39.4 kernel from kernel.org,
and this version does ship pci_ids.h. There must be something else going on:

x linux-2.6.39.4/include/linux/pch_dma.h
x linux-2.6.39.4/include/linux/pci-acpi.h
x linux-2.6.39.4/include/linux/pci-aspm.h
x linux-2.6.39.4/include/linux/pci-dma.h
x linux-2.6.39.4/include/linux/pci.h
x linux-2.6.39.4/include/linux/pci_hotplug.h
x linux-2.6.39.4/include/linux/pci_ids.h   <<<<<<<<<<<<<
x linux-2.6.39.4/include/linux/pci_regs.h
x linux-2.6.39.4/include/linux/pcieport_if.h

Thanks
Vincent


On Sun, Jan 15, 2012 at 9:50 PM, Mike Frysinger <vapier@gentoo.org> wrote:

> On Sunday 15 January 2012 14:24:41 vbr vbr wrote:
> > pci_ids.h is missing from the include/linux directory in the staging
> area:
> >
> > # ls output/staging/usr/include/linux/pci*.h
> > output/staging/usr/include/linux/pci.h
> > output/staging/usr/include/linux/pci_regs.h
> >
> > Am I missing something in the buildroot configuration?
>
> upstream linux kernel doesn't ship it, thus buildroot does not
> -mike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120116/44966363/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] pci_ids.h missing
  2012-01-16 16:38   ` vbr vbr
@ 2012-01-16 17:32     ` vbr vbr
  2012-01-16 17:34     ` Arnout Vandecappelle
  1 sibling, 0 replies; 5+ messages in thread
From: vbr vbr @ 2012-01-16 17:32 UTC (permalink / raw)
  To: buildroot

oh I guess headers_install doesn't install that file for my target arch...

Vincent


On Mon, Jan 16, 2012 at 8:38 AM, vbr vbr <vvvg77@gmail.com> wrote:

> Just downloaded and extracted a vanilla 2.6.39.4 kernel from kernel.org,
> and this version does ship pci_ids.h. There must be something else going on:
>
> x linux-2.6.39.4/include/linux/pch_dma.h
> x linux-2.6.39.4/include/linux/pci-acpi.h
> x linux-2.6.39.4/include/linux/pci-aspm.h
> x linux-2.6.39.4/include/linux/pci-dma.h
> x linux-2.6.39.4/include/linux/pci.h
> x linux-2.6.39.4/include/linux/pci_hotplug.h
> x linux-2.6.39.4/include/linux/pci_ids.h   <<<<<<<<<<<<<
> x linux-2.6.39.4/include/linux/pci_regs.h
> x linux-2.6.39.4/include/linux/pcieport_if.h
>
> Thanks
> Vincent
>
>
>
> On Sun, Jan 15, 2012 at 9:50 PM, Mike Frysinger <vapier@gentoo.org> wrote:
>
>> On Sunday 15 January 2012 14:24:41 vbr vbr wrote:
>> > pci_ids.h is missing from the include/linux directory in the staging
>> area:
>> >
>> > # ls output/staging/usr/include/linux/pci*.h
>> > output/staging/usr/include/linux/pci.h
>> > output/staging/usr/include/linux/pci_regs.h
>> >
>> > Am I missing something in the buildroot configuration?
>>
>> upstream linux kernel doesn't ship it, thus buildroot does not
>> -mike
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120116/e7517c50/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] pci_ids.h missing
  2012-01-16 16:38   ` vbr vbr
  2012-01-16 17:32     ` vbr vbr
@ 2012-01-16 17:34     ` Arnout Vandecappelle
  1 sibling, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2012-01-16 17:34 UTC (permalink / raw)
  To: buildroot

On Monday 16 January 2012 17:38:01 vbr vbr wrote:
> Just downloaded and extracted a vanilla 2.6.39.4 kernel from kernel.org,
> and this version does ship pci_ids.h. There must be something else going on:
> 
> x linux-2.6.39.4/include/linux/pch_dma.h
> x linux-2.6.39.4/include/linux/pci-acpi.h
> x linux-2.6.39.4/include/linux/pci-aspm.h
> x linux-2.6.39.4/include/linux/pci-dma.h
> x linux-2.6.39.4/include/linux/pci.h
> x linux-2.6.39.4/include/linux/pci_hotplug.h
> x linux-2.6.39.4/include/linux/pci_ids.h   <<<<<<<<<<<<<
> x linux-2.6.39.4/include/linux/pci_regs.h
> x linux-2.6.39.4/include/linux/pcieport_if.h
> 
> Thanks
> Vincent
> 
> 
> On Sun, Jan 15, 2012 at 9:50 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> 
> > On Sunday 15 January 2012 14:24:41 vbr vbr wrote:
> > > pci_ids.h is missing from the include/linux directory in the staging
> > area:
> > >
> > > # ls output/staging/usr/include/linux/pci*.h
> > > output/staging/usr/include/linux/pci.h
> > > output/staging/usr/include/linux/pci_regs.h
> > >
> > > Am I missing something in the buildroot configuration?
> >
> > upstream linux kernel doesn't ship it, thus buildroot does not
                                  ^^^^
 This should be: upstream linux kernel doesn't *install* it.

 pci_ids.h is not considered ABI and should not be accessed by userspace.
External modules should always be compiled from the Linux source tree 
itself so they don't need pci_ids.h in staging.

 pciutils, for instance, includes its own list of ids.


 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-16 17:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 19:24 [Buildroot] pci_ids.h missing vbr vbr
2012-01-16  5:50 ` Mike Frysinger
2012-01-16 16:38   ` vbr vbr
2012-01-16 17:32     ` vbr vbr
2012-01-16 17:34     ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox