+/*
+ * The list of all known VPD items and their formats.
+ * Technically, this belongs to the pci.ids file, but the VPD does not seem
+ * to be developed any longer, so we have chosen the easier way.
+ */
+
+enum vpd_format {
+ F_BINARY,
+ F_TEXT,
+ F_RESVD,
+ F_RDWR,
+};
+
+static const struct vpd_item {
+ byte id1, id2;
+ byte format;
+ const char *name;
+} vpd_items[] = {
+ { 'C','P', F_BINARY, "Extended capability" },
+ { 'E','C', F_TEXT, "Engineering changes" },
+ { 'M','N', F_BINARY, "Manufacture ID" },
+ { 'P','N', F_TEXT, "Part number" },
+ { 'R','V', F_RESVD, "Reserved" },
+ { 'R','W', F_RDWR, "Read-write area" },
+ { 'S','N', F_TEXT, "Serial number" },
+ { 'Y','A', F_TEXT, "Asset tag" },
+ { 'V', 0 , F_TEXT, "Vendor specific" },
+ { 'Y', 0 , F_TEXT, "System specific" },
+ { 0, 0 , F_BINARY, "Unknown" }
+};
+