From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199709171307.IAA01504@vulture.cs.rose-hulman.edu> Date: Wed, 17 Sep 1997 08:07:33 -0500 (EST) From: Leslie F. Donaldson Subject: RE: linux-pre-2.0.31-9 Try this for fixing the driver. (comes from my 2.1.55) patch. Note: this fuction isn't actually used yet. *** linux/drivers/scsi/aic7xxx.c.old Fri Sep 5 18:58:42 1997 --- linux/drivers/scsi/aic7xxx.c Sat Sep 13 11:15:09 1997 *************** *** 992,997 **** --- 992,998 ---- { if (p->maddr != NULL) { + #ifdef 0 __asm __volatile(" cld; 1: lodsb; *************** *** 1001,1006 **** --- 1002,1014 ---- "r" ((p)->maddr + (port)), "S" ((valp)), "c" ((size)) : "%esi", "%ecx", "%eax"); + #else + unsigned char *iop = ((p)->maddr + (port)); + const unsigned char *dp = (valp); + int xferlen = (size); + for (; xferlen; --xferlen) + *iop = *dp++; + #endif } else { -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com