2.0.35 and aic7xxx

Justin T. Gibbs gibbs at narnia.plutotech.com
Mon Jul 20 20:29:05 PDT 1998


Here's my version of this routine.  Note that you must keep FAILDIS
enabled until after you have reset the sequencer address.  Otherwise
the sequencer will test the parity of the next instruction which will
invariably fail.

        ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE|LOADRAM);
        ahc_outb(ahc, SEQADDR0, 0);
        ahc_outb(ahc, SEQADDR1, 0);
        
        for (i = 0; i < sizeof(seqprog)/4; i++) {
                if (ahc_check_patch(ahc, &cur_patch, i, &skip_addr) == 0) {
                        /*
                         * Don't download this instruction as it
                         * is in a patch that was removed.
                         */
                        continue;
                }
                ahc_download_instr(ahc, i, download_consts);
                downloaded++;
        }                     
        ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE);
        ahc_outb(ahc, SEQADDR0, 0);
        ahc_outb(ahc, SEQADDR1, 0);
        unpause_sequencer(ahc, /*always*/TRUE);

It looks like the FASTMODE|FASTMODE bug existed for both the outb
before and after download.

--
Justin

To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message



More information about the aic7xxx mailing list