Added SIOCSMIIREG (mii write) support to intel igb driver
Subsystems (3)
PATCH 1/1 Added SIOCSMIIREG (mii write) support to intel igb driver
From: Andreas Werner <[email protected]>
--- drivers/net/ethernet/intel/igb/igb_main.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/ethernet/intel/igb/igb_main.c +4 -0
@@ -7716,6 +7716,10 @@ static int igb_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)return -EIO ;break ;case SIOCSMIIREG : +if (igb_write_phy_reg (&adapter->hw, data->reg_num &0x1F , + data->val_in)) +return -EIO ; +break ;default :return -EOPNOTSUPP ; }
Signature · 1 line
2.12.3
Jeff Kirsher
NAKQuoted 6 lines · Michael Moese
From: Andreas Werner <[email protected]>
Signed-off-by Andreas Werner <[email protected]>---
?drivers/net/ethernet/intel/igb/igb_main.c | 4 ++++ ?1 file changed, 4 insertions(+)
NACK
Why? Your lack of patch description does not provide a reasoning on why we need this change. I need a patch description that provides justification on why we need this change, before I add this to my queue for testing and acceptance upstream.
Please resubmit with the requested information/change.
Quoted 16 lines
drivers/net/ethernet/intel/igb/igb_main.c +0
-0@@ -7716,6 +7716,10 @@ static int igb_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) ? return -EIO; ? break;? case SIOCSMIIREG:
drivers/net/ethernet/intel/igb/igb_main.c +1
-0+ if (igb_write_phy_reg(&adapter->hw, data->reg_num &
0x1F,drivers/net/ethernet/intel/igb/igb_main.c +3
-0+ ??????data->val_in)) +return -EIO ; +break ;
Quoted 3 lines
? default:
? return-EOPNOTSUPP;
? }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20170626/1ff7d9df/attachment-0001.asc>