Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Move interrupt printout past main attach message
details: https://anonhg.NetBSD.org/src/rev/b8b4af8d5753
branches: trunk
changeset: 785902:b8b4af8d5753
user: martin <martin%NetBSD.org@localhost>
date: Fri Apr 05 19:15:08 2013 +0000
description:
Move interrupt printout past main attach message
diffstat:
sys/dev/pci/if_athn_pci.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 7c7ddac00883 -r b8b4af8d5753 sys/dev/pci/if_athn_pci.c
--- a/sys/dev/pci/if_athn_pci.c Fri Apr 05 19:14:31 2013 +0000
+++ b/sys/dev/pci/if_athn_pci.c Fri Apr 05 19:15:08 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_athn_pci.c,v 1.5 2013/04/03 14:20:03 christos Exp $ */
+/* $NetBSD: if_athn_pci.c,v 1.6 2013/04/05 19:15:08 martin Exp $ */
/* $OpenBSD: if_athn_pci.c,v 1.11 2011/01/08 10:02:32 damien Exp $ */
/*-
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.5 2013/04/03 14:20:03 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.6 2013/04/05 19:15:08 martin Exp $");
#include "opt_inet.h"
@@ -207,12 +207,13 @@
aprint_error_dev(self, "couldn't map interrupt\n");
goto fail1;
}
- aprint_verbose_dev(self, "interrupting at %s\n", intrstr);
ic->ic_ifp = &sc->sc_if;
if (athn_attach(sc) != 0)
goto fail2;
+ aprint_verbose_dev(self, "interrupting at %s\n", intrstr);
+
if (pmf_device_register(self, athn_pci_suspend, athn_pci_resume)) {
pmf_class_network_register(self, &sc->sc_if);
pmf_device_suspend(self, &sc->sc_qual);
Home |
Main Index |
Thread Index |
Old Index