Home
last modified time | relevance | path

Searched refs:hosterr (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dwd7000.c988 int make_code (unsigned hosterr, unsigned scsierr) in make_code() argument
991 int in_error = hosterr; in make_code()
994 switch ((hosterr >> 8) & 0xff) { in make_code()
996 hosterr = DID_ERROR; in make_code()
999 hosterr = DID_OK; in make_code()
1002 hosterr = DID_OK; in make_code()
1005 hosterr = DID_TIME_OUT; in make_code()
1008 hosterr = DID_RESET; in make_code()
1011 hosterr = DID_BAD_TARGET; in make_code()
1015 hosterr = DID_BAD_INTR; in make_code()
[all …]
Daha1542.c292 static int makecode(unsigned hosterr, unsigned scsierr) in makecode() argument
294 switch (hosterr) { in makecode()
298 hosterr = 0; in makecode()
303 hosterr = DID_TIME_OUT; in makecode()
331 DEB(printk("Aha1542: %x %x\n", hosterr, scsierr)); in makecode()
332 hosterr = DID_ERROR; /* Couldn't find any better */ in makecode()
339 hosterr = DID_RESET; in makecode()
342 printk(KERN_ERR "aha1542: makecode: unknown hoststatus %x\n", hosterr); in makecode()
345 return scsierr | (hosterr << 16); in makecode()