tag | line | file | source code |
hosterr | 226 | drivers/scsi/aha1542.c | static int makecode(unsigned hosterr, unsigned scsierr) |
hosterr | 228 | drivers/scsi/aha1542.c | switch (hosterr) { |
hosterr | 232 | drivers/scsi/aha1542.c | hosterr = 0; |
hosterr | 237 | drivers/scsi/aha1542.c | hosterr = DID_TIME_OUT; |
hosterr | 265 | drivers/scsi/aha1542.c | DEB(printk("Aha1542: %x %x\n", hosterr, scsierr)); |
hosterr | 266 | drivers/scsi/aha1542.c | hosterr = DID_ERROR; /* Couldn't find any better */ |
hosterr | 273 | drivers/scsi/aha1542.c | hosterr = DID_RESET; |
hosterr | 276 | drivers/scsi/aha1542.c | printk("makecode: unknown hoststatus %x\n", hosterr); |
hosterr | 279 | drivers/scsi/aha1542.c | return scsierr|(hosterr << 16); |
hosterr | 309 | drivers/scsi/buslogic.c | unsigned int hosterr; |
hosterr | 346 | drivers/scsi/buslogic.c | hosterr = DID_OK; |
hosterr | 352 | drivers/scsi/buslogic.c | hosterr = DID_TIME_OUT; |
hosterr | 364 | drivers/scsi/buslogic.c | hosterr = DID_RESET; |
hosterr | 398 | drivers/scsi/buslogic.c | hosterr = DID_ERROR; /* ??? Couldn't find any better. */ |
hosterr | 405 | drivers/scsi/buslogic.c | hosterr = DID_ERROR; |
hosterr | 410 | drivers/scsi/buslogic.c | if (hosterr != DID_OK) { |
hosterr | 417 | drivers/scsi/buslogic.c | if (hosterr == DID_ERROR) |
hosterr | 423 | drivers/scsi/buslogic.c | return (hosterr << 16) | scsierr; |
hosterr | 744 | drivers/scsi/wd7000.c | int make_code(unsigned hosterr, unsigned scsierr) |
hosterr | 747 | drivers/scsi/wd7000.c | int in_error = hosterr; |
hosterr | 750 | drivers/scsi/wd7000.c | switch ((hosterr>>8)&0xff){ |
hosterr | 752 | drivers/scsi/wd7000.c | hosterr = DID_ERROR; |
hosterr | 755 | drivers/scsi/wd7000.c | hosterr = DID_OK; |
hosterr | 758 | drivers/scsi/wd7000.c | hosterr = DID_OK; |
hosterr | 761 | drivers/scsi/wd7000.c | hosterr = DID_TIME_OUT; |
hosterr | 764 | drivers/scsi/wd7000.c | hosterr = DID_RESET; |
hosterr | 767 | drivers/scsi/wd7000.c | hosterr = DID_BAD_TARGET; |
hosterr | 771 | drivers/scsi/wd7000.c | hosterr = DID_BAD_INTR; |
hosterr | 774 | drivers/scsi/wd7000.c | hosterr = DID_ABORT; |
hosterr | 778 | drivers/scsi/wd7000.c | hosterr = DID_RESET; |
hosterr | 781 | drivers/scsi/wd7000.c | hosterr = DID_ERROR; |
hosterr | 785 | drivers/scsi/wd7000.c | if (scsierr||hosterr) |
hosterr | 787 | drivers/scsi/wd7000.c | scsierr,in_error,hosterr); |
hosterr | 789 | drivers/scsi/wd7000.c | return scsierr | (hosterr << 16); |