lkml.org 
[lkml]   [2002]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] init_timer for fmvj18x_cs.c and pcnet_cs.c
From
Date
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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.024 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site