]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit810a40ba0b06555ac67631188cadefd8b8664de9
tree29e5fa534b39dc8f4013e48a005600c9f1f7e3f7
parentbfefaab5766f3ec48298cd0e23d5bfbac7c4d06a
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