Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

From: Michael S. Tsirkin
Date: Thu Apr 02 2015 - 08:09:39 EST


On Thu, Apr 02, 2015 at 01:23:06AM -0700, Christoph Hellwig wrote:
> The class ids are a hardware defintion, not a kernel API.

It's part of the API, it's used to decode values in this sysfs file:
/sys/bus/pci/devices/<address>/class
VFIO also made this part of it's kernel API.

> Just use the
> definitions from libpci, or copy over the kernel header if you prefer
> it over the libpci definutions.
--
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/