From owner-freebsd-mobile Wed Nov 1 7:43:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id B113537B479 for ; Wed, 1 Nov 2000 07:43:46 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.9.3/8.9.3) id IAA28728; Wed, 1 Nov 2000 08:43:35 -0700 (MST) (envelope-from stacy@Millions.CA) Received: from Oak.Millions.Ca(192.168.64.1) via SMTP by mail-gw-0.millions.ca, id smtpdz28726; Wed Nov 1 08:43:27 2000 Received: from Millions.CA (Maple.Millions.Ca [192.168.64.2]) by oak.millions.ca (8.8.8/8.8.5) with ESMTP id IAA17633; Wed, 1 Nov 2000 08:43:25 -0700 (MST) Message-ID: <3A003A1C.613148DA@Millions.CA> Date: Wed, 01 Nov 2000 08:43:24 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en-US MIME-Version: 1.0 To: MIHIRA Yoshiro Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: PCMCIA card temporarily freezes system References: <200010301227.e9UCRIb08030@lavender.sanpei.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org MIHIRA Yoshiro wrote: > > archie@dellroad.org wrote: > > >> I have this PCMCIA card: PMX PE-200, which uses the "ed" driver. > >> It has worked for me before on another system, but in trying > >> on a ThinkPad A20m laptop with FreeBSD 4.1.1-REL, it seems > >> to temporarily "freeze" the system when plugged in. > >> [snip] > >> This can be repeeated any number of times. > >> > >> Any ideas? I've tried different interrupts, etc., to no avail. > >> This card works fine under Win98 on the same laptop. Dmesg > >> excerpts below.. > > Try below quick hack patch. > Some PC-Card which uses "ed" driver have hung-up with ed_get_linksys. > But we don't solve this problem.... > > Cheers > MIHIRA Yoshiro > > --- sys/dev/ed/if_ed_pccard.c.org Mon Oct 30 21:24:34 2000 > +++ sys/dev/ed/if_ed_pccard.c Mon Oct 30 21:24:48 2000 > @@ -201,13 +201,17 @@ > return (error); > } > > +#if 0 > if (ed_get_Linksys(sc) == 0) { > +#endif > pccard_get_ether(dev, ether_addr); > for (i = 0, sum = 0; i < ETHER_ADDR_LEN; i++) > sum |= ether_addr[i]; > if (sum) > bcopy(ether_addr, sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); > +#if 0 > } > +#endif > > error = ed_attach(sc, device_get_unit(dev), flags); > return (error); Should this be handled via a driver flag? Not really a fix, but a viable work around. Just a thought. -stacy -- Nothing spoils fun like finding out it builds character. - Calvin Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message