* [PATCH] init_timer for fmvj18x_cs.c and pcnet_cs.c
@ 2002-11-13 19:56 OGAWA Hirofumi
0 siblings, 0 replies; only message in thread
From: OGAWA Hirofumi @ 2002-11-13 19:56 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-13 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-13 19:56 [PATCH] init_timer for fmvj18x_cs.c and pcnet_cs.c OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).