taglinefilesource code
ecb53kernel/blk_drv/scsi/aha1740.cstatic struct ecb ecb[AHA1740_ECBS];  /* One for each queued operation */
ecb176kernel/blk_drv/scsi/aha1740.cstruct ecb *ecbptr;
ecb214kernel/blk_drv/scsi/aha1740.cmemset(ecbptr,0,sizeof(struct ecb)); 
ecb280kernel/blk_drv/scsi/aha1740.cif( ! ecb[ecbno].cmdw )
ecb286kernel/blk_drv/scsi/aha1740.cif( ecb[ecbno].cmdw )
ecb289kernel/blk_drv/scsi/aha1740.cecb[ecbno].cmdw = AHA1740CMD_INIT;  /* SCSI Initiator Command doubles as reserved flag */
ecb298kernel/blk_drv/scsi/aha1740.cecb[ecbno].cdblen = COMMAND_SIZE(*cmd);  /* SCSI Command Descriptor Block Length */
ecb306kernel/blk_drv/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
ecb316kernel/blk_drv/scsi/aha1740.cecb[ecbno].sg = 1;    /* SCSI Initiator Command  w/scatter-gather*/
ecb326kernel/blk_drv/scsi/aha1740.cecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain);
ecb327kernel/blk_drv/scsi/aha1740.cecb[ecbno].dataptr = (long) cptr;
ecb337kernel/blk_drv/scsi/aha1740.cecb[ecbno].datalen = bufflen;
ecb338kernel/blk_drv/scsi/aha1740.cecb[ecbno].dataptr = (long) buff;
ecb340kernel/blk_drv/scsi/aha1740.cecb[ecbno].lun = SCpnt->lun;
ecb341kernel/blk_drv/scsi/aha1740.cecb[ecbno].ses = 1;  /* Suppress underrun errors */
ecb342kernel/blk_drv/scsi/aha1740.cecb[ecbno].dir= direction;
ecb343kernel/blk_drv/scsi/aha1740.cecb[ecbno].ars=1;  /* Yes, get the sense on an error */
ecb344kernel/blk_drv/scsi/aha1740.cecb[ecbno].senselen = 12;
ecb345kernel/blk_drv/scsi/aha1740.cecb[ecbno].senseptr = (long) ecb[ecbno].sense;
ecb346kernel/blk_drv/scsi/aha1740.cecb[ecbno].statusptr = (long) ecb[ecbno].status;
ecb347kernel/blk_drv/scsi/aha1740.cecb[ecbno].done = done;
ecb348kernel/blk_drv/scsi/aha1740.cecb[ecbno].SCpnt = SCpnt;
ecb353kernel/blk_drv/scsi/aha1740.cfor (i = 0; i < sizeof(ecb[ecbno])-10; i++)
ecb354kernel/blk_drv/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
ecb378kernel/blk_drv/scsi/aha1740.cadrs = (ulong) &(ecb[ecbno]);      /* Spit the command */
ecb429kernel/blk_drv/scsi/aha1740.cmemset(ecb,0,sizeof(ecb));