Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Nov 2000 08:43:24 -0700
From:      Stacy Millions <stacy@millions.ca>
To:        MIHIRA Yoshiro <sanpei@sanpei.org>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: PCMCIA card temporarily freezes system
Message-ID:  <3A003A1C.613148DA@Millions.CA>
References:  <200010301227.e9UCRIb08030@lavender.sanpei.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A003A1C.613148DA>