dm9000: during init reset phy only for dm9000b
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 16 Oct 2013 08:41:31 +0000 (11:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 17:35:56 +0000 (13:35 -0400)
commit6649b205ab1234c7b0ffbfba769f0604810c8ce2
treec602a41f02742fda7b50ace509d35ff7cdf1d7d9
parente9e4ea74f06635f2ffc1dffe5ef40c854faa0a90
dm9000: during init reset phy only for dm9000b

Some of the changes introduced in commit 6741f40 (DM9000B: driver
initialization upgrade) break functionality on DM9000A
(error message during NFS boot: "dm9000 dm9000.0: eth0: link down")

Since the changes were meant to serve only DM9000B, make them
dependent on the chip type.

Cc: David S. Miller <davem@davemloft.net>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c