Re: ArcNet and 2.6.8.1

From: Esben Nielsen
Date: Thu Sep 23 2004 - 16:07:29 EST


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@xxxxxxxxxxxxxxx> (at Thu, 23 Sep 2004 17:08:47 +0200 (METDST)), Esben Nielsen <simlo@xxxxxxxxxx> 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@xxxxxxxxxxxxxx>
>
> ===== 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@xxxxxxxxxxxxxx>
> GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/