[PATCH 0/3] WOL: Add Wake On LAN support

David Zeuthen davidz at redhat.com
Tue Aug 28 11:12:23 PDT 2007


On Tue, 2007-08-14 at 16:54 +0200, Holger Macht wrote:
> Adding the GetSupported(void) method to the coldplug detection of HAL
> might make sense, though. I already have code, partly copied from ethtool,
> to detect this from inside C code. It just makes it more complicated IMO
> even though I'm an advocator of binary versus script code. However, I'll
> check this again.

Actually I think it's nicer to just have a GetSupported() method instead
of a property. At least badly written drivers won't crap out until it's
called which is preferable to having the system lock up at boot time.
Which is what happened back when hal was trying to detect whether a
cable was plugged in.

      David




More information about the hal mailing list