bnxt.c (ae5c42f0b92ca0abefe2e3930a14fc2e716c81a2) bnxt.c (118612d519d83b98ead11195a5c818f5e8904654)
1/* Broadcom NetXtreme-C/E network driver.
2 *
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2019 Broadcom Limited
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.

--- 10376 unchanged lines hidden (view full) ---

10385
10386 case SIOCSMIIREG:
10387 if (!netif_running(dev))
10388 return -EAGAIN;
10389
10390 return bnxt_hwrm_port_phy_write(bp, mdio->phy_id, mdio->reg_num,
10391 mdio->val_in);
10392
1/* Broadcom NetXtreme-C/E network driver.
2 *
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2019 Broadcom Limited
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.

--- 10376 unchanged lines hidden (view full) ---

10385
10386 case SIOCSMIIREG:
10387 if (!netif_running(dev))
10388 return -EAGAIN;
10389
10390 return bnxt_hwrm_port_phy_write(bp, mdio->phy_id, mdio->reg_num,
10391 mdio->val_in);
10392
10393 case SIOCSHWTSTAMP:
10394 return bnxt_hwtstamp_set(dev, ifr);
10395
10396 case SIOCGHWTSTAMP:
10397 return bnxt_hwtstamp_get(dev, ifr);
10398
10393 default:
10394 /* do nothing */
10395 break;
10396 }
10397 return -EOPNOTSUPP;
10398}
10399
10400static void bnxt_get_ring_stats(struct bnxt *bp,

--- 3102 unchanged lines hidden ---
10399 default:
10400 /* do nothing */
10401 break;
10402 }
10403 return -EOPNOTSUPP;
10404}
10405
10406static void bnxt_get_ring_stats(struct bnxt *bp,

--- 3102 unchanged lines hidden ---