summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-08-22 10:00:16 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-08-22 10:00:16 +0000
commit18960feff95955b83c04c13828d76c18bb9b2c5a (patch)
treea0c96e10ea2f47dcfad3ec4ed6f87cb722081dd8 /sys/i386/eisa
parentf7409da95ad410b677510c8afb83cbd56adb15ae (diff)
downloadFreeBSD-src-18960feff95955b83c04c13828d76c18bb9b2c5a.zip
FreeBSD-src-18960feff95955b83c04c13828d76c18bb9b2c5a.tar.gz
Some more small nits in the printf's fixed.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r--sys/i386/eisa/aha1742.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c
index cba9260b..a4591ca 100644
--- a/sys/i386/eisa/aha1742.c
+++ b/sys/i386/eisa/aha1742.c
@@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id$
+ * $Id: aha1742.c,v 1.7 1993/08/21 20:01:31 rgrimes Exp $
*/
#include <sys/types.h>
@@ -868,10 +868,8 @@ int unit;
\***********************************************/
#ifdef __386BSD__
printf("ahb%d: reading board settings, ",unit);
-#define PRNT(x) printf(x)
#else __386BSD__
printf("ahb%d:",unit);
-#define PRNT(x) printf(x)
#endif __386BSD__
intdef = inb(port + INTDEF);
@@ -879,35 +877,32 @@ int unit;
{
case INT9:
ahb_data[unit].vect = 9;
- PRNT("int=9 ");
break;
case INT10:
ahb_data[unit].vect = 10;
- PRNT("int=10 ");
break;
case INT11:
ahb_data[unit].vect = 11;
- PRNT("int=11 ");
break;
case INT12:
ahb_data[unit].vect = 12;
- PRNT("int=12 ");
break;
case INT14:
ahb_data[unit].vect = 14;
- PRNT("int=14 ");
break;
case INT15:
ahb_data[unit].vect = 15;
- PRNT("int=15 ");
break;
default:
printf("illegal int setting\n");
return(EIO);
}
#ifdef __386BSD__
- printf("\n");
+ printf("int=%d\n",ahb_data[unit].vect);
+#else __386BSD__
+ printf("int=%d ",ahb_data[unit].vect);
#endif __386BSD__
+
outb(port + INTDEF ,(intdef | INTEN)); /* make sure we can interrupt */
/* who are we on the scsi bus */
ahb_data[unit].our_id = (inb(port + SCSIDEF) & HSCSIID);
OpenPOWER on IntegriCloud