summaryrefslogtreecommitdiffstats
path: root/drivers/net/sh_eth.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2009-08-27 23:25:03 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-29 00:19:35 -0700
commit4923576b8ac5bfd36ab2beb176aeb747aaab7e41 (patch)
treec58e0194bf64bd60e1bd01bf4c474a8cb1bc1284 /drivers/net/sh_eth.h
parent2db9517ef3dd48790c02a531e2b0db1957afd891 (diff)
downloadtalos-op-linux-4923576b8ac5bfd36ab2beb176aeb747aaab7e41.tar.gz
talos-op-linux-4923576b8ac5bfd36ab2beb176aeb747aaab7e41.zip
net: sh_eth: add value of ether_link pin in platform_data
The method of ETHER_LINK pin is board dependence. This patch adding paramters are: - no_ether_link : If set to 1, do not use ETHER_LINK - ether_link_active_low : If set to 1, ETHER_LINK is active low. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sh_eth.h')
-rw-r--r--drivers/net/sh_eth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h
index 9afe5b4c855d..ba151f86ae7b 100644
--- a/drivers/net/sh_eth.h
+++ b/drivers/net/sh_eth.h
@@ -729,6 +729,9 @@ struct sh_eth_private {
char post_rx; /* POST receive */
char post_fw; /* POST forward */
struct net_device_stats tsu_stats; /* TSU forward status */
+
+ unsigned no_ether_link:1;
+ unsigned ether_link_active_low:1;
};
static inline void sh_eth_soft_swap(char *src, int len)
OpenPOWER on IntegriCloud