From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] init_timer for fmvj18x_cs.c and pcnet_cs.c
Date: Thu, 14 Nov 2002 04:56:01 +0900 [thread overview]
Message-ID: <874ralp7la.fsf@devron.myhome.or.jp> (raw)
This adds init_timer() to fmvj18x_cs.c and pcnet_cs.c.
Please apply.
drivers/net/pcmcia/fmvj18x_cs.c | 1 +
drivers/net/pcmcia/pcnet_cs.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
--- linux-2.5.47/drivers/net/pcmcia/fmvj18x_cs.c~init_timer-fix 2002-11-14 02:41:44.000000000 +0900
+++ linux-2.5.47-hirofumi/drivers/net/pcmcia/fmvj18x_cs.c 2002-11-14 02:41:44.000000000 +0900
@@ -291,6 +291,7 @@ static dev_link_t *fmvj18x_attach(void)
link = &lp->link; dev = &lp->dev;
link->priv = dev->priv = link->irq.Instance = lp;
+ init_timer(&link->release);
link->release.function = &fmvj18x_release;
link->release.data = (u_long)link;
--- linux-2.5.47/drivers/net/pcmcia/pcnet_cs.c~init_timer-fix 2002-11-14 02:41:44.000000000 +0900
+++ linux-2.5.47-hirofumi/drivers/net/pcmcia/pcnet_cs.c 2002-11-14 02:41:44.000000000 +0900
@@ -301,7 +301,8 @@ static dev_link_t *pcnet_attach(void)
memset(info, 0, sizeof(*info));
link = &info->link; dev = &info->dev;
link->priv = info;
-
+
+ init_timer(&link->release);
link->release.function = &pcnet_release;
link->release.data = (u_long)link;
link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
_
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
reply other threads:[~2002-11-13 19:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=874ralp7la.fsf@devron.myhome.or.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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