After I got the arcnet device running labtop computer froze up. I have turned off preemtion and SMP. It seems to make it more stable but I can't be conclusive. Esben On Fri, 24 Sep 2004, YOSHIFUJI Hideaki / [iso-2022-jp] 吉藤英明 wrote: > 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 > - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html