]> git.baikalelectronics.ru Git - kernel.git/commit
net: sh_eth: modify a condition of ioremap for TSU
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 15 Feb 2012 17:55:01 +0000 (17:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Feb 2012 22:08:09 +0000 (17:08 -0500)
commit2c91f08ecab047ad260784c1fdf5281d15e2f189
tree488e0bb3a739f229fc832c4150f03842b8847cac
parentaad116df8b8e988cd5481fa54ac12be4f7497710
net: sh_eth: modify a condition of ioremap for TSU

If the controller has TSU, the each channel needs TSU registers.
This patch also fixes the iounmap condition in the sh_eth_drv_remove().

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