Re: amiga pcmcia wifi cards
Michael van Elst <[email protected]> Wed, 3 Nov 2021 07:18:00 +0100
| Newsgroups | gmane.os.netbsd.ports.amiga |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 02, 2021 at 11:55:18PM +0000, David Brownlee wrote:
> The next question would be does anyone know if NetBSD implements this
> fix, and if not, what needs to be done to workaround? :)
The workaround is in sys/arch/amiga/dev/gayle_pcmcia.c:
/* reset the card if it's already there */
if (gayle_pcmcia_status_read() & GAYLE_CCMEM_DETECT) {
volatile u_int8_t x;
gayle_intr_ack(0xff);
delay(500);
gayle_intr_ack(0xfc);
delay(100*1000);
*reset_card_reg = 0x0;
delay(1000);
x = *reset_card_reg;
__USE(x);
gayle_pcmcia_status_write(GAYLE_CCMEM_WP | GAYLE_CCIO_SPKR);
}
but the original 'CardReset' program doesn't touch a 'reset_card_reg'.
Greetings,
--
Michael van Elst
Internet: [email protected]
"A potential Snark may lurk in every tree."