Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112395 Details for
Bug 166490
gentoo-sources 2.6.20-r2 incorrectly detects speed of line of network card
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-from-maintainer-to-fix-problem
verkkokortti.patch (text/plain), 987 bytes, created by
Eero Volotinen
on 2007-03-07 12:39:44 UTC
(
hide
)
Description:
patch-from-maintainer-to-fix-problem
Filename:
MIME Type:
Creator:
Eero Volotinen
Created:
2007-03-07 12:39:44 UTC
Size:
987 bytes
patch
obsolete
>From 163c2283d3f493e4897f5866e40fb08eaf3b92ca Mon Sep 17 00:00:00 2001 >From: Francois Romieu <romieu@fr.zoreil.com> >Date: Tue, 6 Mar 2007 23:09:56 +0100 >Subject: [PATCH] r8169: revert bogus BMCR reset > >The current code requests a reset but prohibits autoneg, 1000 Mb/s, >100 Mb/s and full duplex. I wonder why it does not cause more >regression. > >Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> >--- > drivers/net/r8169.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c >index 13cf06e..cca9233 100644 >--- a/drivers/net/r8169.c >+++ b/drivers/net/r8169.c >@@ -572,8 +572,8 @@ static void rtl8169_xmii_reset_enable(void __iomem *ioaddr) > { > unsigned int val; > >- mdio_write(ioaddr, MII_BMCR, BMCR_RESET); >- val = mdio_read(ioaddr, MII_BMCR); >+ val = mdio_read(ioaddr, MII_BMCR) | BMCR_RESET; >+ mdio_write(ioaddr, MII_BMCR, val & 0xffff); > } > > static void rtl8169_check_link_status(struct net_device *dev, >-- >1.4.4.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 166490
: 112395