]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: dont set bogus bit in PHY register
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 24 May 2007 22:22:43 +0000 (15:22 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 30 May 2007 13:52:47 +0000 (09:52 -0400)
commit859ef29959f2b45813601bfe5f7bdba0159eb248
tree717bacf9e4679908db59f41d7f88147f28070b6f
parent8933d105c4b643f6ad5836c2d630e496d95e49f9
sky2: dont set bogus bit in PHY register

This code inherited from the sk98lin driver is incorrect on the Yukon2.
The GPHY_CTRL register values are specific to the internal PHY of the chip
and the values used were leftovers.
Driver was setting bit 13 which is now the INT polarity for the PHY!

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c
drivers/net/sky2.h