summaryrefslogtreecommitdiffstats
path: root/sys/dev/mxge/if_mxge_var.h
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2009-02-17 22:15:58 +0000
committergallatin <gallatin@FreeBSD.org>2009-02-17 22:15:58 +0000
commit6bae60e426f4d8594d643cf89d1265d860413f50 (patch)
tree8a02f226355980107cb7d46bb58d58252b53966c /sys/dev/mxge/if_mxge_var.h
parent1bb2d9bb685e4edeb205f134d0d79e1bb0eb94e8 (diff)
downloadFreeBSD-src-6bae60e426f4d8594d643cf89d1265d860413f50.zip
FreeBSD-src-6bae60e426f4d8594d643cf89d1265d860413f50.tar.gz
Better support for recent Myricom 10GbE NICs
- Update to firmware 1.4.39 for dual-chip NIC (10G-PCIE2-xxx) support, and SFP+ i2c support - Identify newer "B" NICs (10G-PCIEx-8B-x) correctly, rather than mis-identifying them as "A" NICs (cosmetic only) - Identify the IFM_10G_LRM ifmedia type, where applicable. - Identify ifmedia types for SFP+ based NICs - Update copyright Sponsored by: Myricom MFC after: 1 week
Diffstat (limited to 'sys/dev/mxge/if_mxge_var.h')
-rw-r--r--sys/dev/mxge/if_mxge_var.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mxge/if_mxge_var.h b/sys/dev/mxge/if_mxge_var.h
index 3ea12bb..d30f1b2 100644
--- a/sys/dev/mxge/if_mxge_var.h
+++ b/sys/dev/mxge/if_mxge_var.h
@@ -1,6 +1,6 @@
/*******************************************************************************
-Copyright (c) 2006-2007, Myricom Inc.
+Copyright (c) 2006-2009, Myricom Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -263,7 +263,10 @@ struct mxge_softc {
#define MXGE_PCI_VENDOR_MYRICOM 0x14c1
#define MXGE_PCI_DEVICE_Z8E 0x0008
#define MXGE_PCI_DEVICE_Z8E_9 0x0009
+#define MXGE_PCI_REV_Z8E 0
+#define MXGE_PCI_REV_Z8ES 1
#define MXGE_XFP_COMPLIANCE_BYTE 131
+#define MXGE_SFP_COMPLIANCE_BYTE 3
#define MXGE_HIGHPART_TO_U32(X) \
(sizeof (X) == 8) ? ((uint32_t)((uint64_t)(X) >> 32)) : (0)
OpenPOWER on IntegriCloud