Correct the format of some diagnostics.
This commit is contained in:
parent
d8f6a1896b
commit
38a7c4b007
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: aha1542.c,v 1.53 1995/10/03 20:58:56 mycroft Exp $ */
|
||||
/* $NetBSD: aha1542.c,v 1.54 1995/11/10 04:41:58 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Charles Hannum. All rights reserved.
|
||||
|
@ -1053,7 +1053,8 @@ noinquire:
|
|||
aha->sc_drq = 7;
|
||||
break;
|
||||
default:
|
||||
printf("illegal dma setting %x\n", conf.chan);
|
||||
printf("%s: illegal drq setting %x\n", aha->sc_dev.dv_xname,
|
||||
conf.chan);
|
||||
return EIO;
|
||||
}
|
||||
|
||||
|
@ -1077,7 +1078,8 @@ noinquire:
|
|||
aha->sc_irq = 15;
|
||||
break;
|
||||
default:
|
||||
printf("illegal int setting %x\n", conf.intr);
|
||||
printf("%s: illegal irq setting %x\n", aha->sc_dev.dv_xname,
|
||||
conf.intr);
|
||||
return EIO;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ultra14f.c,v 1.57 1995/10/04 00:35:07 mycroft Exp $ */
|
||||
/* $NetBSD: ultra14f.c,v 1.58 1995/11/10 04:42:07 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Charles Hannum. All rights reserved.
|
||||
|
@ -941,7 +941,8 @@ u14_find(uha, ia)
|
|||
uha->sc_drq = 7;
|
||||
break;
|
||||
default:
|
||||
printf("illegal dma setting %x\n", config & U14_DMA_MASK);
|
||||
printf("%s: illegal drq setting %x\n",
|
||||
uha->sc_dev.dv_xname, config & U14_DMA_MASK);
|
||||
return EIO;
|
||||
}
|
||||
break;
|
||||
|
@ -961,7 +962,8 @@ u14_find(uha, ia)
|
|||
uha->sc_irq = 15;
|
||||
break;
|
||||
default:
|
||||
printf("illegal int setting %x\n", config & U14_IRQ_MASK);
|
||||
printf("%s: illegal irq setting %x\n", uha->sc_dev.dv_xname,
|
||||
config & U14_IRQ_MASK);
|
||||
return EIO;
|
||||
}
|
||||
|
||||
|
@ -1056,7 +1058,8 @@ u24_find(uha, ia)
|
|||
uha->sc_irq = 15;
|
||||
break;
|
||||
default:
|
||||
printf("illegal int setting %x\n", irq_ch);
|
||||
printf("%s: illegal irq setting %x\n",
|
||||
uha->sc_dev.dv_xname, irq_ch);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue