summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-01-05 07:51:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-01-05 07:51:05 +0000
commit89add57a2a3943f2b7cd05677d113fd89bf17bc9 (patch)
tree5cc820cd543c2cc4e6c0f431a28f124673cbbee9
parent74e91b9bb182eb7392b5a1ff79157c56d867f8af (diff)
even better attach message location
-rw-r--r--sys/dev/pci/if_lii.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_lii.c b/sys/dev/pci/if_lii.c
index 059b07dc179..d41a4bf0ac5 100644
--- a/sys/dev/pci/if_lii.c
+++ b/sys/dev/pci/if_lii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lii.c,v 1.5 2008/01/05 03:49:06 deraadt Exp $ */
+/* $OpenBSD: if_lii.c,v 1.6 2008/01/05 07:51:04 deraadt Exp $ */
/*
* Copyright (c) 2007 The NetBSD Foundation.
@@ -256,6 +256,9 @@ atl2_attach(struct device *parent, struct device *self, void *aux)
return;
}
+ printf(": %s, address %s\n", pci_intr_string(sc->sc_pc, ih),
+ ether_sprintf(sc->sc_ac.ac_enaddr));
+
timeout_set(&sc->sc_tick, atl2_tick, sc);
sc->sc_mii.mii_ifp = ifp;
@@ -278,9 +281,6 @@ atl2_attach(struct device *parent, struct device *self, void *aux)
ifp->if_init = atl2_init;
IFQ_SET_READY(&ifp->if_snd);
- printf("%s, address %s\n", pci_intr_string(sc->sc_pc, ih),
- ether_sprintf(sc->sc_ac.ac_enaddr));
-
if_attach(ifp);
ether_ifattach(ifp);
}