svn commit: r339021 - stable/11/sys/dev/pci

Slava Shwartsman slavash at FreeBSD.org
Sun Sep 30 08:41:15 UTC 2018


Author: slavash
Date: Sun Sep 30 08:41:14 2018
New Revision: 339021
URL: https://svnweb.freebsd.org/changeset/base/339021

Log:
  MFC r338942:
  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.
  
  Approved by:    kib (mentor)
  Sponsored by:   Mellanox Technologies

Modified:
  stable/11/sys/dev/pci/pcireg.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/pci/pcireg.h
==============================================================================
--- stable/11/sys/dev/pci/pcireg.h	Sat Sep 29 21:14:54 2018	(r339020)
+++ stable/11/sys/dev/pci/pcireg.h	Sun Sep 30 08:41:14 2018	(r339021)
@@ -120,6 +120,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