Subject: Re: kern/33581: Z Com XI-325H / SMC2532W-B PC Card wedges system and overheats card
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 05/29/2006 07:50:01
The following reply was made to PR kern/33581; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: djb_netbsd@charter.net
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/33581: Z Com XI-325H / SMC2532W-B PC Card wedges system and overheats card
Date: Mon, 29 May 2006 09:48:34 +0200

 On Mon, May 29, 2006 at 01:25:00AM +0000, djb_netbsd@charter.net wrote:
 > +	/* XXXX NO! Don't assert output enable until card is ready */
 >  	/* power off; assert output enable bit */
 > -	power = PCIC_PWRCTL_OE;
 > +	/* power = PCIC_PWRCTL_OE; */
 > +        power = 0;
 >  	pcic_write(h, PCIC_PWRCTL, power);
 
 Ouch, the old code certainly is wrong.
 Other pcmcia bridge drivers do the OE after the ~200 ms Vcc rising time,
 i.e. between the
 
    pcic_delay(h, 200 + 1, "pccen1"); 
 
 and the negate RESET - could you test if that works for your case too?
 Otherwise we probably would have to audit all pcmcia bridge drivers and
 adapt them.
 
 Martin