tag | line | file | source code |
hosterr | 115 | kernel/blk_drv/scsi/aha1542.c | int makecode(unsigned hosterr, unsigned scsierr) |
hosterr | 117 | kernel/blk_drv/scsi/aha1542.c | switch (hosterr) { |
hosterr | 121 | kernel/blk_drv/scsi/aha1542.c | hosterr = 0; |
hosterr | 126 | kernel/blk_drv/scsi/aha1542.c | hosterr = DID_TIME_OUT; |
hosterr | 154 | kernel/blk_drv/scsi/aha1542.c | hosterr = DID_ERROR; /* Couldn't find any better */ |
hosterr | 161 | kernel/blk_drv/scsi/aha1542.c | hosterr = DID_RESET; |
hosterr | 164 | kernel/blk_drv/scsi/aha1542.c | printk("makecode: unknown hoststatus %x\n", hosterr); |
hosterr | 167 | kernel/blk_drv/scsi/aha1542.c | return scsierr|(hosterr << 16); |
hosterr | 234 | kernel/blk_drv/scsi/wd7000.c | int make_code(unsigned hosterr, unsigned scsierr) |
hosterr | 237 | kernel/blk_drv/scsi/wd7000.c | int in_error = hosterr; |
hosterr | 240 | kernel/blk_drv/scsi/wd7000.c | switch ((hosterr>>8)&0xff){ |
hosterr | 242 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_ERROR; |
hosterr | 245 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_OK; |
hosterr | 248 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_OK; |
hosterr | 251 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_TIME_OUT; |
hosterr | 254 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_RESET; |
hosterr | 257 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_BAD_TARGET; |
hosterr | 261 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_BAD_INTR; |
hosterr | 264 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_ABORT; |
hosterr | 268 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_RESET; |
hosterr | 271 | kernel/blk_drv/scsi/wd7000.c | hosterr = DID_ERROR; |
hosterr | 275 | kernel/blk_drv/scsi/wd7000.c | if (scsierr||hosterr) |
hosterr | 277 | kernel/blk_drv/scsi/wd7000.c | scsierr,in_error,hosterr); |
hosterr | 279 | kernel/blk_drv/scsi/wd7000.c | return scsierr | (hosterr << 16); |