summaryrefslogtreecommitdiffstats
path: root/include/linux/sh_eth.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-12-20 01:39:52 +0300
committerDavid S. Miller <davem@davemloft.net>2013-12-19 19:09:38 -0500
commit18be099badcfc4a12f058addc55c4270d5a8bec8 (patch)
tree8a6572f8d5fe705b55e3fb78a4953ad60ee5312b /include/linux/sh_eth.h
parent9ddffb8a1103e9c716b152a80e46c95cba1ca6b2 (diff)
downloadop-kernel-dev-18be099badcfc4a12f058addc55c4270d5a8bec8.zip
op-kernel-dev-18be099badcfc4a12f058addc55c4270d5a8bec8.tar.gz
sh_eth: add PHY IRQ to platform data
Allow the platform code to pass PHY's IRQ to the driver. Print this IRQ along with the other PHY datails in sh_eth_phy_init(). Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sh_eth.h')
-rw-r--r--include/linux/sh_eth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_eth.h b/include/linux/sh_eth.h
index 90b5e30..8c9131d 100644
--- a/include/linux/sh_eth.h
+++ b/include/linux/sh_eth.h
@@ -8,6 +8,7 @@ enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
struct sh_eth_plat_data {
int phy;
+ int phy_irq;
int edmac_endian;
phy_interface_t phy_interface;
void (*set_mdio_gate)(void *addr);
OpenPOWER on IntegriCloud