mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
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>
This commit is contained in:
parent
9ddffb8a11
commit
18be099bad
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue