mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* wakeup on lan enable without compiling as module
@ 2005-09-06 18:53 Thomas Glanzmann
  2005-09-06 19:17 ` Thomas Glanzmann
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Glanzmann @ 2005-09-06 18:53 UTC (permalink / raw)
  To: vortex; +Cc: becker, jgarzik, andrewm

Hello,
I would like to build the 3c59x vortex module into the kernel (not as
module) but don't loose the ability to use wakeup-on-lan. Because it
seems to be impossible to specify 'module parameters' to a built-in
kernel module I tried the following patch, which doesn't work for me.
Could someone enlighten me how I can get the expected behaviour?

Thanks,
	Thomas

[PATCH] Try to enable wakeup-on-lan per default. (doesn't work)

--- a/drivers/net/3c59x.c
+++ b/drivers/net/3c59x.c
@@ -906,7 +906,7 @@
 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
 static int hw_checksums[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
 static int flow_ctrl[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
-static int enable_wol[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
+static int enable_wol[MAX_UNITS] = {1, 1, 1, 1, 1, 1, 1, 1};
 static int global_options = -1;
 static int global_full_duplex = -1;
 static int global_enable_wol = -1;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-06 21:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-06 18:53 wakeup on lan enable without compiling as module Thomas Glanzmann
2005-09-06 19:17 ` Thomas Glanzmann
2005-09-06 19:26 ` Stephen Hemminger
2005-09-06 19:37 ` Thomas Glanzmann
2005-09-06 21:27 ` Tony Breeds
2005-09-06 21:33   ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®