[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150330011539.4bfa5288@kant>
Date: Mon, 30 Mar 2015 01:15:39 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups
On Mar 29 Michael S. Tsirkin wrote:
> The macros in pci_ids.h are pretty useful for userspace
> using the pci sysfs interface, e.g. to decode class
> device and vendor sysfs files.
>
> At the moment userspace is forced to duplicate these macros (e.g. QEMU does
> this, so does gpxe, seabios, etc), it is better to export them in
> /usr/include/linux/pci_ids.h so everyone can just include this header.
>
> This patchset is structured as follows:
> 1. include/linux/pci_ids.h is moved to include/uapi/linux/pci_ids.h;
> a stub file is created in include/linux/pci_ids.h to avoid breaking
> bisect
Since linux' include/linux/pci_ids.h is incomplete, I am doubtful that it
is appropriate for userspace.
> 2. all users are converted to use the new header
This step should not be necessary. It has not been done with other
headers which were moved to include/uapi.
> 3. include/linux/pci_ids.h is removed
> 4. cleanups for several issues detected during step 2
--
Stefan Richter
-=====-===== --== ====-
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists