DaVinci EMAC: Fix davinci_eth_gigabit_enable
authorSandeep Paulraj <s-paulraj@ti.com>
Tue, 28 Dec 2010 19:37:33 +0000 (14:37 -0500)
committerAlbert Aribaud <albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:44 +0000 (00:54 +0100)
commit4b9b9e7c665bfcff43bc720b579b6b03a5078736
tree2754915ca87c86350823d94ede61f27475be700f
parent99e4c7546357c824a7435d531ca7eb570a755376
DaVinci EMAC: Fix davinci_eth_gigabit_enable

Enabling the gigabit was overwriting the
previous configuration by setting up only GIGAFORCE and
GIG bits of MAC control register.
Modified to retain previous configuration while
gigabit enabling.

Signed-off-by: Prakash PM <prakash.pm@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/net/davinci_emac.c