mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: davem@davemloft.net, simlo@phys.au.dk
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: ArcNet and 2.6.8.1
Date: Fri, 24 Sep 2004 00:16:27 +0900 (JST)	[thread overview]
Message-ID: <20040924.001627.113803491.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <Pine.OSF.4.05.10409231534150.5114-100000@da410.ifa.au.dk>

Hello.

In article <Pine.OSF.4.05.10409231534150.5114-100000@da410.ifa.au.dk> (at Thu, 23 Sep 2004 17:08:47 +0200 (METDST)), Esben Nielsen <simlo@phys.au.dk> says:

>  I am trying to upgrade my labtop to 2.6.8.1. I have ArcNet COM20020
> PCMCIA card. After editing /etc/pcmcia/config to make it know about the
> module, it finds the com20020 with no problems but as soon as I try to
> start the network device the ifconfig process crashes.
:
> I fixed it by changing
> 	lp->hw.open(dev);
> to
> 	if(lp->hw.open) {
> 		lp->hw.open(dev);
> 	}

Thanks.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>

===== drivers/net/arcnet/arcnet.c 1.18 vs edited =====
--- 1.18/drivers/net/arcnet/arcnet.c	2004-07-01 13:18:14 +09:00
+++ edited/drivers/net/arcnet/arcnet.c	2004-09-24 00:11:35 +09:00
@@ -401,7 +401,8 @@
 	lp->rfc1201.sequence = 1;
 
 	/* bring up the hardware driver */
-	lp->hw.open(dev);
+	if (lp->hw.open)
+		lp->hw.open(dev);
 
 	if (dev->dev_addr[0] == 0)
 		BUGMSG(D_NORMAL, "WARNING!  Station address 00 is reserved "

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

  reply	other threads:[~2004-09-23 15:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23 15:08 Esben Nielsen
2004-09-23 15:16 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
2004-09-23 20:59   ` Esben Nielsen
2004-09-23 21:01     ` David S. Miller
2004-09-23 21:46       ` Esben Nielsen
2004-09-23 22:02         ` Alan Cox
2004-09-24 14:07           ` Esben Nielsen
2004-09-23 22:24         ` David S. Miller
2004-09-23 22:52           ` Esben Nielsen
2004-09-24 17:44             ` Martin Mares
2004-09-24 17:57             ` Lee Revell
2004-09-24 17:24         ` Joel Jaeggli

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=20040924.001627.113803491.yoshfuji@linux-ipv6.org \
    --to=yoshfuji@linux-ipv6.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=simlo@phys.au.dk \
    /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®