Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/
Dwd7000.c951 static int make_code(unsigned hosterr, unsigned scsierr) in make_code() argument
954 int in_error = hosterr; in make_code()
957 switch ((hosterr >> 8) & 0xff) { in make_code()
959 hosterr = DID_ERROR; in make_code()
962 hosterr = DID_OK; in make_code()
965 hosterr = DID_OK; in make_code()
968 hosterr = DID_TIME_OUT; in make_code()
971 hosterr = DID_RESET; in make_code()
974 hosterr = DID_BAD_TARGET; in make_code()
978 hosterr = DID_BAD_INTR; in make_code()
[all …]
Daha1542.c264 static int makecode(unsigned hosterr, unsigned scsierr) in makecode() argument
266 switch (hosterr) { in makecode()
270 hosterr = 0; in makecode()
275 hosterr = DID_TIME_OUT; in makecode()
303 DEB(printk("Aha1542: %x %x\n", hosterr, scsierr)); in makecode()
304 hosterr = DID_ERROR; /* Couldn't find any better */ in makecode()
311 hosterr = DID_RESET; in makecode()
314 printk(KERN_ERR "aha1542: makecode: unknown hoststatus %x\n", hosterr); in makecode()
317 return scsierr | (hosterr << 16); in makecode()