summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/vxge/vxge_version.h
diff options
context:
space:
mode:
authorMasroor Vettuparambil2010-02-02 10:42:36 +0100
committerMarty Connor2010-02-24 19:08:49 +0100
commitf5f8ee00fc45b03172274bd23ae8f7634b255e09 (patch)
tree95ef9a63cb7f274d073d308e66ef525945428bed /src/drivers/net/vxge/vxge_version.h
parent[undi] Ensure only one UNDI instance is loaded (diff)
downloadipxe-f5f8ee00fc45b03172274bd23ae8f7634b255e09.tar.gz
ipxe-f5f8ee00fc45b03172274bd23ae8f7634b255e09.tar.xz
ipxe-f5f8ee00fc45b03172274bd23ae8f7634b255e09.zip
[vxge] Add support for X3100 series 10GbE Server/Storage Adapter
Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com> Signed-off-by: Masroor Vettuparambil <masroor.vettuparambil@neterion.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/drivers/net/vxge/vxge_version.h')
-rw-r--r--src/drivers/net/vxge/vxge_version.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/drivers/net/vxge/vxge_version.h b/src/drivers/net/vxge/vxge_version.h
new file mode 100644
index 00000000..55ad3bf6
--- /dev/null
+++ b/src/drivers/net/vxge/vxge_version.h
@@ -0,0 +1,40 @@
+/*
+ * vxge-version.h: gPXE driver for Neterion Inc's X3100 Series 10GbE
+ * PCIe I/O Virtualized Server Adapter.
+ *
+ * Copyright(c) 2002-2010 Neterion Inc.
+ *
+ * This software may be used and distributed according to the terms of
+ * the GNU General Public License (GPL), incorporated herein by
+ * reference. Drivers based on or derived from this code fall under
+ * the GPL and must retain the authorship, copyright and license
+ * notice.
+ *
+ */
+
+FILE_LICENCE(GPL2_ONLY);
+
+#ifndef VXGE_VERSION_H
+
+#define VXGE_VERSION_H
+
+/* gpxe vxge driver version fields.
+ * Note: Each field must be a nibble size
+ */
+#define VXGE_VERSION_MAJOR 3
+#define VXGE_VERSION_MINOR 1
+#define VXGE_VERSION_FIX 0
+#define VXGE_VERSION_BUILD 0
+
+#define VXGE_FW_VER(major, minor, build) \
+ (((major) << 16) + ((minor) << 8) + (build))
+
+/* Certified FW version. */
+#define VXGE_CERT_FW_VER_MAJOR 1
+#define VXGE_CERT_FW_VER_MINOR 6
+#define VXGE_CERT_FW_VER_BUILD 0
+
+#define VXGE_CERT_FW_VER VXGE_FW_VER(VXGE_CERT_FW_VER_MAJOR, \
+ VXGE_CERT_FW_VER_MINOR, VXGE_CERT_FW_VER_BUILD)
+
+#endif