summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-08-30 16:45:40 +0000
committerchristos <christos@NetBSD.org>2006-08-30 16:45:40 +0000
commit989f6e4d42e8aa7b63d716d67f53553801d4b8a5 (patch)
tree49f5931b2b897d6e5f8942d7f70a1b8d99405fa9 /sys/dev
parent26f4467d2654dba3bfc449ea2f9600132c1234af (diff)
avoid empty if body.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/if_ix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/isa/if_ix.c b/sys/dev/isa/if_ix.c
index a017a1bc2ca..a1bbdd1fbf4 100644
--- a/sys/dev/isa/if_ix.c
+++ b/sys/dev/isa/if_ix.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ix.c,v 1.23 2005/12/11 12:22:02 christos Exp $ */
+/* $NetBSD: if_ix.c,v 1.24 2006/08/30 16:45:40 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ix.c,v 1.23 2005/12/11 12:22:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ix.c,v 1.24 2006/08/30 16:45:40 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1012,9 +1012,10 @@ ix_attach(parent, self, aux)
isc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq[0].ir_irq,
IST_EDGE, IPL_NET, i82586_intr, sc);
- if (isc->sc_ih == NULL)
+ if (isc->sc_ih == NULL) {
DPRINTF(("\n%s: can't establish interrupt\n",
sc->sc_dev.dv_xname));
+ }
}
CFATTACH_DECL(ix, sizeof(struct ix_softc),