2005-03-24 00:37:33

by Thomas Skora

[permalink] [raw]

2005-03-24 07:42:17

by Roger Luethi

[permalink] [raw]
Subject: Re: [PATCH] via-rhine.c, wol-bugfix, Kernel 2.6.11.5

On Thu, 24 Mar 2005 01:37:55 +0100, Thomas Skora wrote:
> The via-rhine driver in the actual kernel release 2.6.11.5 resets
> wake-on-lan-settings of the chip. This leads to the fact, that wol is
> disabled after the first reboot. I've attached a little patch, that
> fixes the problem.

This patch won't apply to the 2.6.11.5 I have here -- the driver is
clearing ~0xFC already. The description makes me suspect that the patch
is meant to go the other way, and that would be wrong. Use ethtool if
you want to enable WOL, default in Linux net drivers is off.

Please don't send patches as application/octet-stream, that's
annoying. Send either text/plain or inline.

Roger

2005-03-24 11:37:28

by Thomas Skora

[permalink] [raw]
Subject: Re: [PATCH] via-rhine.c, wol-bugfix, Kernel 2.6.11.5

Roger Luethi <[email protected]> writes:

> This patch won't apply to the 2.6.11.5 I have here -- the driver is
> clearing ~0xFC already. The description makes me suspect that the patch
> is meant to go the other way, and that would be wrong.

You are right. I don't know what happened, but in my sources (from
kernel.org without any patches) this was cleared to 0xFE.

> Use ethtool if you want to enable WOL, default in Linux net drivers is
> off.

The problem was, that this doesn't worked.

> Please don't send patches as application/octet-stream, that's
> annoying. Send either text/plain or inline.

Ok, thank you for the hint.

Thomas