From: Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
To: vortex@scyld.com
Cc: becker@scyld.com, jgarzik@pobox.com, andrewm@uow.edu.au
Subject: wakeup on lan enable without compiling as module
Date: Tue, 6 Sep 2005 20:53:38 +0200 [thread overview]
Message-ID: <20050906185338.GJ26445@cip.informatik.uni-erlangen.de> (raw)
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;
next reply other threads:[~2005-09-06 19:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-06 18:53 Thomas Glanzmann [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050906185338.GJ26445@cip.informatik.uni-erlangen.de \
--to=sithglan@stud.uni-erlangen.de \
--cc=andrewm@uow.edu.au \
--cc=becker@scyld.com \
--cc=jgarzik@pobox.com \
--cc=vortex@scyld.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®