taglinefilesource code
hosterr98kernel/blk_drv/scsi/7000fasst.cint wd7000fasst_make_error_code(unsigned hosterr, unsigned scsierr)
hosterr101kernel/blk_drv/scsi/7000fasst.cint in_error=hosterr;
hosterr103kernel/blk_drv/scsi/7000fasst.cswitch ((hosterr&0xff00)>>8){
hosterr105kernel/blk_drv/scsi/7000fasst.chosterr=DID_ERROR;
hosterr107kernel/blk_drv/scsi/7000fasst.ccase 1:  hosterr=DID_OK;
hosterr112kernel/blk_drv/scsi/7000fasst.cDEB(printk("Hosterror: VUE = %x\n",hosterr&0xff);)
hosterr113kernel/blk_drv/scsi/7000fasst.cswitch (hosterr&0xff) {
hosterr114kernel/blk_drv/scsi/7000fasst.cdefault:  DEB(printk("wd7000fasst_make_error_code: unknown hoststatus %x\n", hosterr);)
hosterr115kernel/blk_drv/scsi/7000fasst.chosterr=DID_ERROR;
hosterr119kernel/blk_drv/scsi/7000fasst.ccase 4:  hosterr=DID_BAD_TARGET;  /* Command failed to complete without SCSI status */
hosterr121kernel/blk_drv/scsi/7000fasst.ccase 5: hosterr=DID_RESET;  /* Cmd terminated; Bus reset by external device */
hosterr123kernel/blk_drv/scsi/7000fasst.ccase 6:  hosterr=DID_ERROR;/* Hardware Failure, requires host reset */
hosterr125kernel/blk_drv/scsi/7000fasst.ccase 7: hosterr=DID_RESET;
hosterr127kernel/blk_drv/scsi/7000fasst.ccase 8:  hosterr=DID_OK;
hosterr132kernel/blk_drv/scsi/7000fasst.cif (scsierr||hosterr) printk("SCSI-Command error: SCSI %x HOST %x RETURN %x\n",scsierr,in_error,hosterr);
hosterr134kernel/blk_drv/scsi/7000fasst.creturn scsierr|(hosterr << 16);
hosterr75kernel/blk_drv/scsi/aha1542.cint makecode(unsigned hosterr, unsigned scsierr)
hosterr77kernel/blk_drv/scsi/aha1542.cswitch (hosterr) {
hosterr81kernel/blk_drv/scsi/aha1542.chosterr = 0;
hosterr86kernel/blk_drv/scsi/aha1542.chosterr = DID_TIME_OUT;
hosterr114kernel/blk_drv/scsi/aha1542.chosterr = DID_ERROR; /* Couldn't find any better */
hosterr121kernel/blk_drv/scsi/aha1542.chosterr = DID_RESET;
hosterr124kernel/blk_drv/scsi/aha1542.cprintk("makecode: unknown hoststatus %x\n", hosterr);
hosterr127kernel/blk_drv/scsi/aha1542.creturn scsierr|(hosterr << 16);