Re: A1200 PCMCIA problem

Jukka Andberg <[email protected]>
Newsgroups gmane.os.netbsd.ports.amiga
Message-ID <[email protected]>
Frank Wille wrote:
> > With that one network card, yes. The other one worked better than
> > before.
> 
> The one which worked better is certainly the DFE-670TXD, which I got as well?
> It would be good when we could test some more PCMCIA cards.

Right. 
 
> > Tried already with some bigger delays, to no effect. I'll do some
> > more experiments still.

I find that it works reliably with a generous 100ms delay inserted
after your new reset code. Both cards are detected on cold and warm
boots.

100ms is playing it safe. Based on quick testing 10-20 ms might be
enough, but seems to depend on the card.

I hope this still works with your hardware with this change.

--jukka
gayle_pcmcia.patch (application/octet-stream, 462 B)
Index: gayle_pcmcia.c
===================================================================
RCS file: /cvsroot/src/sys/arch/amiga/dev/gayle_pcmcia.c,v
retrieving revision 1.29.4.1
diff -u -r1.29.4.1 gayle_pcmcia.c
--- gayle_pcmcia.c	11 Sep 2014 12:14:00 -0000	1.29.4.1
+++ gayle_pcmcia.c	1 Feb 2015 19:29:08 -0000
@@ -211,6 +211,8 @@
 		delay(500);
 		gayle_intr_ack(0xfc);
 
+		delay(100*1000);
+
 		*reset_card_reg = 0x0;
 		delay(1000);
 		x = *reset_card_reg;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.