Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Leslie F. Donaldson <donaldlf@cs.rose-hulman.edu>
Subject: RE: linux-pre-2.0.31-9
Date: Wed, 17 Sep 1997 08:07:33 -0500 (EST)	[thread overview]
Message-ID: <ba7fa8e594596d5bfb51ebcff655abf6.axp-list@archive.invalid> (raw)

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

             reply	other threads:[~1997-09-17 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-17 13:07 Leslie F. Donaldson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-17 20:41 linux-pre-2.0.31-9 Andreas U. Trottmann
     [not found] <199709171307.IAA01504@vulture.cs.rose-hulman.edu>
1997-09-18 19:18 ` linux-pre-2.0.31-9 Andreas U. Trottmann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox