diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2013-07-23 10:18:04 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-24 15:39:26 -0700 |
commit | 55754f19d7ee4fa3633f55a4a084af8590c35efa (patch) | |
tree | e43a5682a5d993b11eb6cdf57f896aeca9c22213 /drivers/net/ethernet/renesas/sh_eth.h | |
parent | 9225b23057aeba13957e8033f69a554dc246a80e (diff) | |
download | op-kernel-dev-55754f19d7ee4fa3633f55a4a084af8590c35efa.zip op-kernel-dev-55754f19d7ee4fa3633f55a4a084af8590c35efa.tar.gz |
sh_eth: add support for RMIIMODE register
This register is prsent on the r8a7790 SoC.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h index 99995bf..da93f5c 100644 --- a/drivers/net/ethernet/renesas/sh_eth.h +++ b/drivers/net/ethernet/renesas/sh_eth.h @@ -60,6 +60,7 @@ enum { EDOCR, TFUCR, RFOCR, + RMIIMODE, FCFTR, RPADIR, TRIMD, @@ -482,6 +483,7 @@ struct sh_eth_cpu_data { unsigned hw_crc:1; /* E-DMAC have CSMR */ unsigned select_mii:1; /* EtherC have RMII_MII (MII select register) */ unsigned shift_rd0:1; /* shift Rx descriptor word 0 right by 16 */ + unsigned rmiimode:1; /* EtherC has RMIIMODE register */ }; struct sh_eth_private { |