Re: [patch] WOL support for nfe(4)

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 08:08:25AM +0100, Yamagi Burmeister wrote: > On Wed, 10 Nov 2010, Pyun YongHyeon wrote: > > >On Tue, Nov 09, 2010 at 01:34:21PM -0800, Pyun YongHyeon wrote: > >>On Tue, Nov 09, 2010 at 10:01:36PM +0100, Yamagi Burmeister wrote: > >>>On Tue, 9 Nov 2010, Pyun YongHyeon wrote:

Re: [patch] WOL support for nfe(4)

2010-11-10 Thread Yamagi Burmeister
On Wed, 10 Nov 2010, Pyun YongHyeon wrote: On Tue, Nov 09, 2010 at 01:34:21PM -0800, Pyun YongHyeon wrote: On Tue, Nov 09, 2010 at 10:01:36PM +0100, Yamagi Burmeister wrote: On Tue, 9 Nov 2010, Pyun YongHyeon wrote: No, the link stays at 1000Mbps so the driver must manually switch back to 10

Re: [patch] WOL support for nfe(4)

2010-11-10 Thread Pyun YongHyeon
On Tue, Nov 09, 2010 at 01:34:21PM -0800, Pyun YongHyeon wrote: > On Tue, Nov 09, 2010 at 10:01:36PM +0100, Yamagi Burmeister wrote: > > On Tue, 9 Nov 2010, Pyun YongHyeon wrote: > > > > >>No, the link stays at 1000Mbps so the driver must manually switch back > > >>to 10/100Mbps. > > >> > > > > >

Re: [patch] WOL support for nfe(4)

2010-11-10 Thread Yamagi Burmeister
On Wed, 10 Nov 2010, Ian Smith wrote: On Tue, 9 Nov 2010, Pyun YongHyeon wrote: > On Tue, Nov 09, 2010 at 10:01:36PM +0100, Yamagi Burmeister wrote: > > On Tue, 9 Nov 2010, Pyun YongHyeon wrote: [..] > > >You can switch to suspend mode with "acpiconf -s1". If all goes > > >well, driver would put

Re: [patch] WOL support for nfe(4)

2010-11-09 Thread Ian Smith
On Tue, 9 Nov 2010, Pyun YongHyeon wrote: > On Tue, Nov 09, 2010 at 10:01:36PM +0100, Yamagi Burmeister wrote: > > On Tue, 9 Nov 2010, Pyun YongHyeon wrote: [..] > > >You can switch to suspend mode with "acpiconf -s1". If all goes > > >well, driver would put the controller into suspend mode aft

Re: [patch] WOL support for nfe(4)

2010-11-09 Thread Pyun YongHyeon
On Tue, Nov 09, 2010 at 10:01:36PM +0100, Yamagi Burmeister wrote: > On Tue, 9 Nov 2010, Pyun YongHyeon wrote: > > >>No, the link stays at 1000Mbps so the driver must manually switch back > >>to 10/100Mbps. > >> > > > >Hmm, this is real problem for WOL. Establishing 1000Mbps link to > >accept WOL

Re: [patch] WOL support for nfe(4)

2010-11-09 Thread Yamagi Burmeister
On Tue, 9 Nov 2010, Pyun YongHyeon wrote: No, the link stays at 1000Mbps so the driver must manually switch back to 10/100Mbps. Hmm, this is real problem for WOL. Establishing 1000Mbps link to accept WOL frames is really bad idea since it can draw more power than 375mA. Consuming more power t

Re: [patch] WOL support for nfe(4)

2010-11-09 Thread Pyun YongHyeon
On Tue, Nov 09, 2010 at 09:49:14AM +0100, Yamagi Burmeister wrote: > > Thanks for your reply. > > On Mon, 8 Nov 2010, Pyun YongHyeon wrote: > > >Thanks for the patch. I attached slightly modified the code to > >better match other WOL capable drivers in tree. Because data sheet > >is not availabl

Re: [patch] WOL support for nfe(4)

2010-11-09 Thread Yamagi Burmeister
Thanks for your reply. On Mon, 8 Nov 2010, Pyun YongHyeon wrote: Thanks for the patch. I attached slightly modified the code to better match other WOL capable drivers in tree. Because data sheet is not available I blindly made a patch based on your code. I have a couple of questions which I ca

Re: [patch] WOL support for nfe(4)

2010-11-08 Thread Pyun YongHyeon
On Fri, Nov 05, 2010 at 11:10:37AM +0100, Yamagi Burmeister wrote: > Hi, > > some time ago we migrated a lot of boxes from Linux to FreeBSD. Those > machines have a "NVIDIA nForce4 CK804 MCP4" network adapter, supported > by nfe(4). Even if nfe(4) at least tries to enable the WOL capability of > t

[patch] WOL support for nfe(4)

2010-11-05 Thread Yamagi Burmeister
Hi, some time ago we migrated a lot of boxes from Linux to FreeBSD. Those machines have a "NVIDIA nForce4 CK804 MCP4" network adapter, supported by nfe(4). Even if nfe(4) at least tries to enable the WOL capability of the NIC it doesn't work and nfe(4) doesn't integrate with FreeBSDs (new) WOL fr