tg3: make it possible to provide phy_id in ioctl
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Feb 2013 05:37:38 +0000 (05:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 04:47:01 +0000 (23:47 -0500)
commit5c358045ae6b4e9ec7edcd70e6486123ca2c9c72
tree29e5fa534b39dc8f4013e48a005600c9f1f7e3f7
parent180996c30517b5374f63df3c9765716c5b477155
tg3: make it possible to provide phy_id in ioctl

In OpenWrt we currently use a switch driver which uses the ioctls to
configure the switch in the phy. We have to provide the phy_id to do
so, but without this patch this is not possible.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c