svn commit: r338942 - head/sys/dev/pci

Slava Shwartsman slavash at FreeBSD.org
Wed Sep 26 13:16:56 UTC 2018


Author: slavash
Date: Wed Sep 26 13:16:55 2018
New Revision: 338942
URL: https://svnweb.freebsd.org/changeset/base/338942

Log:
  Add PCIV_INVALID definition
  
  From PCI Spec rev 2.2, 6.2.1. Device Identification:
  Vendor ID This field identifies the manufacturer of the device. Valid
  vendor identifiers are allocated by the PCI SIG to ensure uniqueness.
  0FFFFh is an invalid value for Vendor ID.
  
  MFC after:      3 days
  Approved by:    re (Glen), hselasky (mentor), kib (mentor)
  Sponsored by:   Mellanox Technologies

Modified:
  head/sys/dev/pci/pcireg.h

Modified: head/sys/dev/pci/pcireg.h
==============================================================================
--- head/sys/dev/pci/pcireg.h	Wed Sep 26 10:24:50 2018	(r338941)
+++ head/sys/dev/pci/pcireg.h	Wed Sep 26 13:16:55 2018	(r338942)
@@ -122,6 +122,9 @@
 #define	PCIM_MFDEV		0x80
 #define	PCIR_BIST	0x0f
 
+/* PCI Spec rev 2.2: 0FFFFh is an invalid value for Vendor ID. */
+#define	PCIV_INVALID	0xffff 
+
 /* Capability Register Offsets */
 
 #define	PCICAP_ID	0x0


More information about the svn-src-all mailing list