clean up reading of ICR register in FEC driver
authorGreg Ungerer <gerg@snapgear.com>
Mon, 30 Jul 2007 06:29:16 +0000 (16:29 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 30 Jul 2007 17:52:09 +0000 (10:52 -0700)
commitf861d62e12d3f732a36634e9e6b3b7b0112fef60
tree3bc418ce7c69b7f0fbd58c09ad89cf07a82a6212
parentcb84d6e7ad10bd679df1787a1fc9624432a73317
clean up reading of ICR register in FEC driver

On the MCF5272, there is no need to read the ICR before writing it :
the bit 4n+3 is a write-enable for the bits 4n,4n+1 and 4n+2.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/fec.c