taglinefilesource code
ecb54drivers/scsi/aha1740.cstatic struct ecb ecb[AHA1740_ECBS];  /* One for each queued operation */
ecb177drivers/scsi/aha1740.cstruct ecb *ecbptr;
ecb193drivers/scsi/aha1740.cecbptr = (struct ecb *) (  ((ulong) inb(MBOXIN0)) +
ecb215drivers/scsi/aha1740.cmemset(ecbptr,0,sizeof(struct ecb)); 
ecb280drivers/scsi/aha1740.cif( ! ecb[ecbno].cmdw )
ecb286drivers/scsi/aha1740.cif( ecb[ecbno].cmdw )
ecb289drivers/scsi/aha1740.cecb[ecbno].cmdw = AHA1740CMD_INIT;  /* SCSI Initiator Command doubles as reserved flag */
ecb298drivers/scsi/aha1740.cecb[ecbno].cdblen = COMMAND_SIZE(*cmd);  /* SCSI Command Descriptor Block Length */
ecb306drivers/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
ecb316drivers/scsi/aha1740.cecb[ecbno].sg = 1;    /* SCSI Initiator Command  w/scatter-gather*/
ecb326drivers/scsi/aha1740.cecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain);
ecb327drivers/scsi/aha1740.cecb[ecbno].dataptr = (long) cptr;
ecb337drivers/scsi/aha1740.cecb[ecbno].datalen = bufflen;
ecb338drivers/scsi/aha1740.cecb[ecbno].dataptr = (long) buff;
ecb340drivers/scsi/aha1740.cecb[ecbno].lun = SCpnt->lun;
ecb341drivers/scsi/aha1740.cecb[ecbno].ses = 1;  /* Suppress underrun errors */
ecb342drivers/scsi/aha1740.cecb[ecbno].dir= direction;
ecb343drivers/scsi/aha1740.cecb[ecbno].ars=1;  /* Yes, get the sense on an error */
ecb344drivers/scsi/aha1740.cecb[ecbno].senselen = 12;
ecb345drivers/scsi/aha1740.cecb[ecbno].senseptr = (long) ecb[ecbno].sense;
ecb346drivers/scsi/aha1740.cecb[ecbno].statusptr = (long) ecb[ecbno].status;
ecb347drivers/scsi/aha1740.cecb[ecbno].done = done;
ecb348drivers/scsi/aha1740.cecb[ecbno].SCpnt = SCpnt;
ecb353drivers/scsi/aha1740.cfor (i = 0; i < sizeof(ecb[ecbno])-10; i++)
ecb354drivers/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
ecb378drivers/scsi/aha1740.cadrs = (ulong) &(ecb[ecbno]);      /* Spit the command */
ecb429drivers/scsi/aha1740.cmemset(&ecb, 0, sizeof(struct ecb));