From 56b6785885762d95982f62ba0189b67005e13cb4 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Wed, 19 May 2010 20:00:15 +0000 Subject: [PATCH] Correctly identify some twinax cables, which report a media type of 1. --- sys/dev/mxge/if_mxge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c index e5a34bc70ed3..a04197e13a96 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -2778,7 +2778,8 @@ static struct mxge_media_type mxge_sfp_media_types[] = {0, (1 << 7), "Reserved"}, {IFM_10G_LRM, (1 << 6), "10GBASE-LRM"}, {IFM_10G_LR, (1 << 5), "10GBASE-LR"}, - {IFM_10G_SR, (1 << 4), "10GBASE-SR"} + {IFM_10G_SR, (1 << 4), "10GBASE-SR"}, + {IFM_10G_TWINAX,(1 << 0), "10GBASE-Twinax"} }; static void