CRISv10: Don't autonegotiate if autonegotiation is off
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 31 Aug 2009 16:28:26 +0000 (18:28 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Mon, 31 Aug 2009 16:38:17 +0000 (18:38 +0200)
commite6cd19743bfc76ca81804c2a259e3a0d7b03fd73
tree31c2212d3dbfcae281daae5f33a6e14b72cbb154
parenta090ca2c840a3459642971f26bdbad96d2482e32
CRISv10: Don't autonegotiate if autonegotiation is off

If autonegotiation was disabled, we still set the
BMCR_ANENABLE and BMCR_ANRESTART, which resulted in autonegotiation
never being disabled.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Reported-by: Julia Lawall <julia@diku.dk>
drivers/net/cris/eth_v10.c