From 9de973a8f165b9add0c92b9632f338705b997529 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Fri, 2 Jan 2009 19:37:42 +0800 Subject: [PATCH] Add VPD capability register offsets Obtained-from: FreeBSD --- sys/bus/pci/pcireg.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/bus/pci/pcireg.h b/sys/bus/pci/pcireg.h index 8942145981..a1e8d403a4 100644 --- a/sys/bus/pci/pcireg.h +++ b/sys/bus/pci/pcireg.h @@ -383,6 +383,10 @@ #define PCIR_POWER_DATA 0x7 +/* VPD capability registers */ +#define PCIR_VPD_ADDR 0x2 +#define PCIR_VPD_DATA 0x4 + /* PCI Message Signalled Interrupts (MSI) */ #define PCIR_MSI_CTRL 0x2 #define PCIM_MSICTRL_VECTOR 0x0100 -- 2.41.0