Skip to contentSkip to conversation

via-rhine.c, wol-bugfix, Kernel 2.6.11.5

PATCH In review Thomas Skora 2 participants 3 messages Mar 24, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 via-rhine.c, wol-bugfix, Kernel 2.6.11.5

Hello!

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.

Thomas Skora

#1 lore raw
Quoted 4 lines · Thomas Skora

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

#2 lore raw
Quoted 3 lines · Roger Luethi

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.

Quoted 2 lines

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

The problem was, that this doesn't worked.

Quoted 2 lines

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