git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
net
/
sungem_phy.c
diff --git
a/drivers/net/sungem_phy.c
b/drivers/net/sungem_phy.c
index
278c7cb
..
b2ddd5e
100644
(file)
--- a/
drivers/net/sungem_phy.c
+++ b/
drivers/net/sungem_phy.c
@@
-19,6
+19,7
@@
* of darwin, still need to reverse engineer that
*/
* of darwin, still need to reverse engineer that
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/module.h>
@@
-344,9
+345,9
@@
static int bcm5421_enable_fiber(struct mii_phy* phy)
static int bcm5461_enable_fiber(struct mii_phy* phy)
{
static int bcm5461_enable_fiber(struct mii_phy* phy)
{
- phy_write(phy, MII_NCONFIG, 0xfc0c);
- phy_write(phy, MII_BMCR, 0x4140);
- phy_write(phy, MII_NCONFIG, 0xfc0b);
+
phy_write(phy, MII_NCONFIG, 0xfc0c);
+
phy_write(phy, MII_BMCR, 0x4140);
+
phy_write(phy, MII_NCONFIG, 0xfc0b);
phy_write(phy, MII_BMCR, 0x0140);
return 0;
phy_write(phy, MII_BMCR, 0x0140);
return 0;