tag | line | file | source code |
mbi | 241 | kernel/blk_drv/scsi/aha1542.c | int errstatus, mbi, mbo, mbistatus; |
mbi | 263 | kernel/blk_drv/scsi/aha1542.c | mbi = aha1542_last_mbi_used + 1; |
mbi | 264 | kernel/blk_drv/scsi/aha1542.c | if (mbi >= 2*AHA1542_MAILBOXES) mbi = AHA1542_MAILBOXES; |
mbi | 267 | kernel/blk_drv/scsi/aha1542.c | if(mb[mbi].status != 0) break; |
mbi | 268 | kernel/blk_drv/scsi/aha1542.c | mbi++; |
mbi | 269 | kernel/blk_drv/scsi/aha1542.c | if (mbi >= 2*AHA1542_MAILBOXES) mbi = AHA1542_MAILBOXES; |
mbi | 270 | kernel/blk_drv/scsi/aha1542.c | } while (mbi != aha1542_last_mbi_used); |
mbi | 272 | kernel/blk_drv/scsi/aha1542.c | if(mb[mbi].status == 0){ |
mbi | 280 | kernel/blk_drv/scsi/aha1542.c | mbo = (scsi2int(mb[mbi].ccbptr) - ((unsigned int) &ccb[0])) / sizeof(struct ccb); |
mbi | 281 | kernel/blk_drv/scsi/aha1542.c | mbistatus = mb[mbi].status; |
mbi | 282 | kernel/blk_drv/scsi/aha1542.c | mb[mbi].status = 0; |
mbi | 283 | kernel/blk_drv/scsi/aha1542.c | aha1542_last_mbi_used = mbi; |
mbi | 290 | kernel/blk_drv/scsi/aha1542.c | ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); |
mbi | 297 | kernel/blk_drv/scsi/aha1542.c | printk("...done %d %d\n",mbo, mbi); |