diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-01-05 07:51:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-01-05 07:51:05 +0000 |
commit | 89add57a2a3943f2b7cd05677d113fd89bf17bc9 (patch) | |
tree | 5cc820cd543c2cc4e6c0f431a28f124673cbbee9 | |
parent | 74e91b9bb182eb7392b5a1ff79157c56d867f8af (diff) |
even better attach message location
-rw-r--r-- | sys/dev/pci/if_lii.c | 8 |
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); } |