Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 17:33:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 189531] [fxp] Wake on Lan (WOL) enabled for Intel 82562EZ ethernet adapter, but WOL does not work
Message-ID:  <bug-189531-2472-VM9VLd5QxM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-189531-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-189531-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189531

--- Comment #2 from Sean Bruno <sbruno@FreeBSD.org> ---
(In reply to jkriordan from comment #0)
Please post the revision of FreeBSD you are using for this issue.  Looking at
logs, WOL has not been touched since:

------------------------------------------------------------------------
r251600 | yongari | 2013-06-10 00:31:49 -0700 (Mon, 10 Jun 2013) | 24 lines

Avoid unnecessary controller reinitialization by checking driver
running state.  fxp(4) requires controller reinitialization for the
following cases.
 o RX lockup condition on i82557
 o promiscuous mode change
 o multicast filter change
 o WOL configuration
 o TSO/VLAN hardware tagging/checksum offloading configuration
 o MAC reprogramming after speed/duplex/flow-control resolution
 o Any events that result in MAC reprogramming(link UP/DOWN,
   remote link partner's restart of auto-negotiation etc)
 o Microcode loading/unloading
Apart from above cases which come from hardware limitation, upper
stack also blindly reinitializes controller whenever an IP address
is assigned. After r194573, fxp(4) no longer needs to reinitialize
the controller to program multicast filter after upping the
interface. So keeping track of driver running state should remove
all unnecessary controller reinitializations.

This change will also address endless controller reinitialization
triggered by dhclient(8).

Tested by:      hrs, Alban Hertroys <haramrae@gmail.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-189531-2472-VM9VLd5QxM>