Re: [PATCH] r8169 fix regression on ASUS motherboards (updated)

Hans-Jürgen Koch
2007-11-08T08:50:26Z

Am Thu, 8 Nov 2007 01:21:12 +0100
schrieb Francois Romieu <romieu@fr.zoreil.com>:

> Mark Lord <lkml@rtr.ca> :
> [...]
> > I've now received a couple of private emails from people reporting
> > full success with this patch.
>
> Ok, I have pushed the patch below for Jeff to pull at korg.
>
> >From 1dd7681bc2ff171341ea5cae957f8ecb5c0c102e Mon Sep 17 00:00:00
> >2001
> From: Mark Lord <mlord@pobox.com>
> Date: Thu, 8 Nov 2007 01:03:04 +0100
> Subject: [PATCH] r8169: revert
> 7da97ec96a0934319c7fbedd3d38baf533e20640 (partly)
>
> Various symptoms depending on the .config options:
> - the card stops working after some (short) time
> - the card does not work at all
> - the card disappears (nothing in lspci/dmesg)
>
> A real power-off is needed to recover the card.

This patch fixes the same problem on my MSI board.

>
> Signed-off-by: Mark Lord <mlord@pobox.com>
> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Acked-by: Hans J. Koch <hjk@linutronix.de>

> ---
> drivers/net/r8169.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
> index 9dbab3f..a37cf82 100644
> --- a/drivers/net/r8169.c
> +++ b/drivers/net/r8169.c
> @@ -1328,6 +1328,7 @@ static void rtl_hw_phy_config(struct net_device
> *dev) break;
> case RTL_GIGA_MAC_VER_11:
> case RTL_GIGA_MAC_VER_12:
> + break;
> case RTL_GIGA_MAC_VER_17:
> rtl8168b_hw_phy_config(ioaddr);
> break;