]> 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)
commit15e8ee2c692207c3725e7bace1a75d61d4503f9f
tree488e0bb3a739f229fc832c4150f03842b8847cac
parent02cb1ec30a46fd48f40766e93f2a8527c0b361f6
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