Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michael S. Tsirkin and committed by
Bjorn Helgaas
37a9c502 e33caa82

+6 -6
+6 -6
Documentation/PCI/pci.txt
··· 564 564 8. Vendor and device identifications 565 565 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 566 566 567 - One is not required to add new device ids to include/linux/pci_ids.h. 568 - Please add PCI_VENDOR_ID_xxx for vendors and a hex constant for device ids. 567 + Do not add new device or vendor IDs to include/linux/pci_ids.h unless they 568 + are shared across multiple drivers. You can add private definitions in 569 + your driver if they're helpful, or just use plain hex constants. 569 570 570 - PCI_VENDOR_ID_xxx constants are re-used. The device ids are arbitrary 571 - hex numbers (vendor controlled) and normally used only in a single 572 - location, the pci_device_id table. 571 + The device IDs are arbitrary hex numbers (vendor controlled) and normally used 572 + only in a single location, the pci_device_id table. 573 573 574 - Please DO submit new vendor/device ids to pciids.sourceforge.net project. 574 + Please DO submit new vendor/device IDs to http://pciids.sourceforge.net/. 575 575 576 576 577 577