[BACK]Return to aha1742.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / eisa

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/i386/eisa/Attic/aha1742.c between version 1.12 and 1.13

version 1.12, 1993/06/09 22:36:46 version 1.13, 1993/07/17 16:20:24
Line 660  ahb_free_ecb(int unit, struct ecb *ecb, 
Line 660  ahb_free_ecb(int unit, struct ecb *ecb, 
          * one to come free, starting with queued entries*           * one to come free, starting with queued entries*
          */           */
         if (!ecb->next)          if (!ecb->next)
                 wakeup(&ahb_data[unit].free_ecb);                  wakeup((caddr_t)&ahb_data[unit].free_ecb);
   
         if (!(flags & SCSI_NOMASK))          if (!(flags & SCSI_NOMASK))
                 splx(opri);                  splx(opri);
Line 685  ahb_get_ecb(int unit, int flags)
Line 685  ahb_get_ecb(int unit, int flags)
          * to come free           * to come free
          */           */
         while ((!(rc = ahb_data[unit].free_ecb)) && (!(flags & SCSI_NOSLEEP)))          while ((!(rc = ahb_data[unit].free_ecb)) && (!(flags & SCSI_NOSLEEP)))
                 sleep(&ahb_data[unit].free_ecb, PRIBIO);                  sleep((caddr_t)&ahb_data[unit].free_ecb, PRIBIO);
   
         if (rc) {          if (rc) {
                 ahb_data[unit].free_ecb = rc->next;                  ahb_data[unit].free_ecb = rc->next;
Line 1164  ahb_timeout(int arg)
Line 1164  ahb_timeout(int arg)
                 }                  }
         }          }
         splx(s);          splx(s);
         timeout(ahb_timeout,arg,SLEEPTIME);          timeout((timeout_t)ahb_timeout,(caddr_t)arg,SLEEPTIME);
 }  }
   
 void  void

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>