Date: Wed, 20 Jul 2011 20:24:30 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r224233 - stable/8/sys/dev/mxge Message-ID: <201107202024.p6KKOUPW030889@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gallatin Date: Wed Jul 20 20:24:30 2011 New Revision: 224233 URL: http://svn.freebsd.org/changeset/base/224233 Log: MFC r223957: Fix media reporting for dual port CX4 myri10ge NICs Modified: stable/8/sys/dev/mxge/if_mxge.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/mxge/if_mxge.c ============================================================================== --- stable/8/sys/dev/mxge/if_mxge.c Wed Jul 20 18:51:18 2011 (r224232) +++ stable/8/sys/dev/mxge/if_mxge.c Wed Jul 20 20:24:30 2011 (r224233) @@ -2837,7 +2837,7 @@ mxge_media_init(mxge_softc_t *sc) return; } } - if (*ptr == 'C') { + if (*ptr == 'C' || *(ptr +1) == 'C') { /* -C is CX4 */ sc->connector = MXGE_CX4; mxge_media_set(sc, IFM_10G_CX4);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107202024.p6KKOUPW030889>