aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/PCI
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-03-30 04:32:34 -0400
committerBjorn Helgaas <bhelgaas@google.com>2015-04-09 14:34:02 -0400
commit37a9c502c0af013aaae094556830100c2bb133ac (patch)
tree372f57cb17e5ea6e748f1f3c7335e78d74d7be86 /Documentation/PCI
parente33caa82e221b0bbeba373b507e3f134dc2efa1a (diff)
PCI: Clarify policy for vendor IDs in pci.txt
Clarify pci.txt so it matches the "do not add new entries unless they are shared between multiple drivers" comment in include/linux/pci_ids.h. [bhelgaas: changelog, strengthen language] Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation/PCI')
-rw-r--r--Documentation/PCI/pci.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt
index 9518006f6675..123881f62219 100644
--- a/Documentation/PCI/pci.txt
+++ b/Documentation/PCI/pci.txt
@@ -564,14 +564,14 @@ to be handled by platform and generic code, not individual drivers.
5648. Vendor and device identifications 5648. Vendor and device identifications
565~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 565~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
566 566
567One is not required to add new device ids to include/linux/pci_ids.h. 567Do not add new device or vendor IDs to include/linux/pci_ids.h unless they
568Please add PCI_VENDOR_ID_xxx for vendors and a hex constant for device ids. 568are shared across multiple drivers. You can add private definitions in
569your driver if they're helpful, or just use plain hex constants.
569 570
570PCI_VENDOR_ID_xxx constants are re-used. The device ids are arbitrary 571The device IDs are arbitrary hex numbers (vendor controlled) and normally used
571hex numbers (vendor controlled) and normally used only in a single 572only in a single location, the pci_device_id table.
572location, the pci_device_id table.
573 573
574Please DO submit new vendor/device ids to pciids.sourceforge.net project. 574Please DO submit new vendor/device IDs to http://pciids.sourceforge.net/.
575 575
576 576
577 577