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
Sun, Jul 19, 11:01 AM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35231782
Default Alt Text
D13358.id36778.diff (561 B)

Event Timeline