tag | line | file | source code |
ccb | 33 | kernel/blk_drv/scsi/aha1542.c | static struct ccb ccb; |
ccb | 210 | kernel/blk_drv/scsi/aha1542.c | if (ccb.tarstat|ccb.hastat) |
ccb | 211 | kernel/blk_drv/scsi/aha1542.c | printk("aha1542_command: returning %x (status %d)\n", ccb.tarstat + ((int) ccb.hastat << 16), mb[1].status); |
ccb | 230 | kernel/blk_drv/scsi/aha1542.c | errstatus = makecode(ccb.hastat, ccb.tarstat); |
ccb | 236 | kernel/blk_drv/scsi/aha1542.c | if (ccb.tarstat == 2) { |
ccb | 240 | kernel/blk_drv/scsi/aha1542.c | printk("%02x ", ccb.cdb[ccb.cdblen+i]); |
ccb | 280 | kernel/blk_drv/scsi/aha1542.c | memset(&ccb, 0, sizeof ccb); |
ccb | 282 | kernel/blk_drv/scsi/aha1542.c | ccb.cdblen = (*cmd<=0x1f)?6:10; /* SCSI Command Descriptor Block Length */ |
ccb | 284 | kernel/blk_drv/scsi/aha1542.c | memcpy(ccb.cdb, cmd, ccb.cdblen); |
ccb | 285 | kernel/blk_drv/scsi/aha1542.c | ccb.op = 0; /* SCSI Initiator Command */ |
ccb | 286 | kernel/blk_drv/scsi/aha1542.c | ccb.idlun = (target&7)<<5; /* SCSI Target Id */ |
ccb | 287 | kernel/blk_drv/scsi/aha1542.c | ccb.rsalen = 12; |
ccb | 288 | kernel/blk_drv/scsi/aha1542.c | any2scsi(ccb.datalen, bufflen); |
ccb | 289 | kernel/blk_drv/scsi/aha1542.c | any2scsi(ccb.dataptr, buff); |
ccb | 290 | kernel/blk_drv/scsi/aha1542.c | ccb.linkptr[0] = ccb.linkptr[1] = ccb.linkptr[2] = 0; |
ccb | 291 | kernel/blk_drv/scsi/aha1542.c | ccb.commlinkid = 0; |
ccb | 298 | kernel/blk_drv/scsi/aha1542.c | for (i = 0; i < sizeof(ccb)-10; i++) |
ccb | 299 | kernel/blk_drv/scsi/aha1542.c | printk("%02x ", ((unchar *)&ccb)[i]); |
ccb | 344 | kernel/blk_drv/scsi/aha1542.c | any2scsi(mb[0].ccbptr, &ccb); |