]> git.baikalelectronics.ru Git - kernel.git/commit
net: sh_eth: remove almost #ifdef of SH7763
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 7 Mar 2011 21:59:38 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 21:10:14 +0000 (14:10 -0700)
commit58ec833ce9adc3f737ba1ea378688941f15c449d
tree273acc9e661d8d50ce3ccddcb18d933e387eeb5b
parent883b9413e4d1723fd738012e1d55fb095a9125f0
net: sh_eth: remove almost #ifdef of SH7763

The SH7763 has GETHER. So the specification of some registers differs than
other CPUs. This patch removes almost #ifdef of CONFIG_CPU_SUBTYPE_SH7763.
Then we are able to add other CPU's GETHER easily.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c
drivers/net/sh_eth.h