]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/net/arm/at91_ether.c: logical/bitand typo in function reset_phy()
authorRoel Kluin <12o3l@tiscali.nl>
Tue, 29 Jan 2008 20:14:56 +0000 (21:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:28:36 +0000 (04:28 -0800)
commit10a5a80b3c69d65d66c4d9f4f796725f09bbc8cb
tree0b7c804e641f94ae2946bbb8e900ab80ee0a1fd0
parent7b9b09436b8720621e5594ce25fd25f34d5d42be
drivers/net/arm/at91_ether.c: logical/bitand typo in function reset_phy()

include/linux/mii.h:48:#define BMCR_RESET 0x8000

The function reset_phy() is in "#if 0" inactivated code

Replace logical "&&" by bit "&" before BMCR_RESET

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/at91_ether.c