]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bnxt: Add support for new phy_types and speeds
authorshurd <shurd@FreeBSD.org>
Mon, 30 Oct 2017 21:26:23 +0000 (21:26 +0000)
committershurd <shurd@FreeBSD.org>
Mon, 30 Oct 2017 21:26:23 +0000 (21:26 +0000)
commitb5b325bf25c43a41ceafedb051551a070bf432ae
tree95955742bead0586318b4586688826c3c7b88102
parent22a78b59381c05c4476adb0814d2780ee48a1bb3
bnxt: Add support for new phy_types and speeds

1) Add new phy_types and speeds from the latest firmware header.
2) Introduced a macro to avoid code duplication and improve readability for
   the invocation of ifmedia_add().

Submitted by: Bhargava Chenna Marreddy <bhargava.marreddy@broadcom.com>
Reviewed by: shurd, sbruno
Approved by: sbruno (mentor)
Sponsored by: Broadcom Limited
Differential Revision: https://reviews.freebsd.org/D12423
sys/dev/bnxt/bnxt.h
sys/dev/bnxt/if_bnxt.c