Searched refs:hosterr (Results 1 – 2 of 2) sorted by relevance
988 int make_code (unsigned hosterr, unsigned scsierr) in make_code() argument991 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 …]
292 static int makecode(unsigned hosterr, unsigned scsierr) in makecode() argument294 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()