shurd 0d88d48b88 bnxt: Add support for new phy_types and speeds - Part #2
Use our ifm_list of supported media types rather than nested switch
statements to find the current media type.  Find a supported type that
matches the current speed.

Remove all workarounds while updating ifmr->ifm_active.

For BNXT_IFMEDIA_ADD, added Three more speeds IFM_10G_T, IFM_2500_T & IFM_2500_KX.

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/D12896
2017-11-06 16:41:29 +00:00
..
2017-10-10 19:33:24 +00:00
2017-04-14 02:24:02 +00:00
2017-04-14 08:27:42 +00:00
2017-01-28 02:22:15 +00:00
2017-01-16 03:03:47 +00:00
2016-05-03 03:41:25 +00:00
2017-09-14 15:34:45 +00:00
2017-09-14 15:34:45 +00:00
2016-08-09 19:32:06 +00:00
2016-10-25 16:28:30 +00:00
2017-04-06 17:08:59 +00:00
2016-05-03 03:41:25 +00:00
2017-02-23 15:30:21 +00:00
2016-05-03 03:41:25 +00:00
2017-04-27 16:14:32 +00:00
2016-11-17 14:43:13 +00:00
2017-11-02 04:07:41 +00:00
2017-09-26 23:23:58 +00:00
2017-09-27 19:14:00 +00:00
2016-05-03 03:41:25 +00:00
2017-01-28 02:22:15 +00:00
2017-02-28 23:42:47 +00:00
2017-10-30 02:31:08 +00:00
2017-04-14 02:33:26 +00:00
2017-02-06 11:37:20 +00:00
2016-05-03 03:41:25 +00:00
2017-02-28 23:42:47 +00:00
2017-09-10 13:21:54 +00:00
2017-09-14 15:34:45 +00:00
2017-09-14 15:34:45 +00:00
2016-05-03 03:41:25 +00:00
2017-10-29 08:17:03 +00:00
2017-10-09 15:48:56 +00:00
2017-09-27 05:59:54 +00:00
2017-04-14 08:11:50 +00:00
2017-01-28 02:22:15 +00:00
2017-09-08 17:51:19 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2017-06-30 22:06:24 +00:00
2017-01-23 21:09:27 +00:00
2017-04-14 07:27:23 +00:00
2016-05-03 03:41:25 +00:00
2017-02-28 23:42:47 +00:00
2016-05-03 03:41:25 +00:00
2016-09-22 22:51:11 +00:00
2016-05-03 03:41:25 +00:00
2017-10-21 07:23:45 +00:00
2016-10-17 10:20:38 +00:00
2016-05-03 03:41:25 +00:00
2017-10-30 08:57:08 +00:00
2017-08-18 08:05:33 +00:00
2016-05-03 03:41:25 +00:00
2017-02-28 23:42:47 +00:00
2017-10-29 08:17:03 +00:00
2017-05-23 09:29:05 +00:00
2017-10-16 12:54:53 +00:00
2017-08-07 14:09:57 +00:00
2017-04-06 22:21:49 +00:00
2017-07-01 05:35:29 +00:00
2016-05-03 03:41:25 +00:00
2016-05-03 03:41:25 +00:00
2017-10-10 20:08:30 +00:00
2016-05-02 16:47:28 +00:00
2016-05-02 16:47:28 +00:00
2017-07-01 05:35:29 +00:00
2016-05-03 03:41:25 +00:00