tag | line | file | source code |
hosterr | 98 | kernel/blk_drv/scsi/7000fasst.c | int wd7000fasst_make_error_code(unsigned hosterr, unsigned scsierr) |
hosterr | 101 | kernel/blk_drv/scsi/7000fasst.c | int in_error=hosterr; |
hosterr | 103 | kernel/blk_drv/scsi/7000fasst.c | switch ((hosterr&0xff00)>>8){ |
hosterr | 105 | kernel/blk_drv/scsi/7000fasst.c | hosterr=DID_ERROR; |
hosterr | 107 | kernel/blk_drv/scsi/7000fasst.c | case 1: hosterr=DID_OK; |
hosterr | 112 | kernel/blk_drv/scsi/7000fasst.c | DEB(printk("Hosterror: VUE = %x\n",hosterr&0xff);) |
hosterr | 113 | kernel/blk_drv/scsi/7000fasst.c | switch (hosterr&0xff) { |
hosterr | 114 | kernel/blk_drv/scsi/7000fasst.c | default: DEB(printk("wd7000fasst_make_error_code: unknown hoststatus %x\n", hosterr);) |
hosterr | 115 | kernel/blk_drv/scsi/7000fasst.c | hosterr=DID_ERROR; |
hosterr | 119 | kernel/blk_drv/scsi/7000fasst.c | case 4: hosterr=DID_BAD_TARGET; /* Command failed to complete without SCSI status */ |
hosterr | 121 | kernel/blk_drv/scsi/7000fasst.c | case 5: hosterr=DID_RESET; /* Cmd terminated; Bus reset by external device */ |
hosterr | 123 | kernel/blk_drv/scsi/7000fasst.c | case 6: hosterr=DID_ERROR;/* Hardware Failure, requires host reset */ |
hosterr | 125 | kernel/blk_drv/scsi/7000fasst.c | case 7: hosterr=DID_RESET; |
hosterr | 127 | kernel/blk_drv/scsi/7000fasst.c | case 8: hosterr=DID_OK; |
hosterr | 132 | kernel/blk_drv/scsi/7000fasst.c | if (scsierr||hosterr) printk("SCSI-Command error: SCSI %x HOST %x RETURN %x\n",scsierr,in_error,hosterr); |
hosterr | 134 | kernel/blk_drv/scsi/7000fasst.c | return scsierr|(hosterr << 16); |
hosterr | 75 | kernel/blk_drv/scsi/aha1542.c | int makecode(unsigned hosterr, unsigned scsierr) |
hosterr | 77 | kernel/blk_drv/scsi/aha1542.c | switch (hosterr) { |
hosterr | 81 | kernel/blk_drv/scsi/aha1542.c | hosterr = 0; |
hosterr | 86 | kernel/blk_drv/scsi/aha1542.c | hosterr = DID_TIME_OUT; |
hosterr | 114 | kernel/blk_drv/scsi/aha1542.c | hosterr = DID_ERROR; /* Couldn't find any better */ |
hosterr | 121 | kernel/blk_drv/scsi/aha1542.c | hosterr = DID_RESET; |
hosterr | 124 | kernel/blk_drv/scsi/aha1542.c | printk("makecode: unknown hoststatus %x\n", hosterr); |
hosterr | 127 | kernel/blk_drv/scsi/aha1542.c | return scsierr|(hosterr << 16); |