cxgbe(4): fix if_media handling for T520-BT cards. 1Gbps and 100Mbps

are valid for this card.

MFC after:	1 week
This commit is contained in:
Navdeep Parhar 2015-03-14 00:02:53 +00:00
parent dcd0c998a9
commit 070d262707

View file

@ -2895,9 +2895,6 @@ build_medialist(struct port_info *pi, struct ifmedia *media)
switch(pi->port_type) {
case FW_PORT_TYPE_BT_XFI:
ifmedia_add(media, m | IFM_10G_T, data, NULL);
break;
case FW_PORT_TYPE_BT_XAUI:
ifmedia_add(media, m | IFM_10G_T, data, NULL);
/* fall through */