Page MenuHomeFreeBSD

D13358.id36778.diff
No OneTemporary

D13358.id36778.diff

Index: head/sys/dev/bnxt/if_bnxt.c
===================================================================
--- head/sys/dev/bnxt/if_bnxt.c
+++ head/sys/dev/bnxt/if_bnxt.c
@@ -2085,8 +2085,13 @@
break;
case HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_UNKNOWN:
- default:
/* Only Autoneg is supported for TYPE_UNKNOWN */
+ device_printf(softc->dev, "Unknown phy type\n");
+ break;
+
+ default:
+ /* Only Autoneg is supported for new phy type values */
+ device_printf(softc->dev, "phy type %d not supported by driver\n", phy_type);
break;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 2, 12:26 AM (6 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30695559
Default Alt Text
D13358.id36778.diff (561 B)

Event Timeline