Fix media reporting for dual port CX4 myri10ge NICs
MFC after: 7 days Sponsored by: Myricom, Inc.
This commit is contained in:
parent
0d2653cb44
commit
30882b10fc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223957
@ -2834,7 +2834,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);
|
||||
|
Loading…
Reference in New Issue
Block a user