Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Help messages appear each on their own line when



details:   https://anonhg.NetBSD.org/src/rev/ccbd58d2daed
branches:  trunk
changeset: 504473:ccbd58d2daed
user:      kim <kim%NetBSD.org@localhost>
date:      Sun Mar 04 00:01:06 2001 +0000

description:
Help messages appear each on their own line when
discovering additional ports on a multi-port card.

diffstat:

 sys/dev/pci/if_de.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c9c875a9568e -r ccbd58d2daed sys/dev/pci/if_de.c
--- a/sys/dev/pci/if_de.c       Sat Mar 03 21:34:00 2001 +0000
+++ b/sys/dev/pci/if_de.c       Sun Mar 04 00:01:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_de.c,v 1.96 2000/12/28 22:59:12 sommerfeld Exp $    */
+/*     $NetBSD: if_de.c,v 1.97 2001/03/04 00:01:06 kim Exp $   */
 
 /*-
  * Copyright (c) 1994-1997 Matt Thomas (matt%3am-software.com@localhost)
@@ -5873,12 +5873,11 @@
            intr_rtn = tulip_intr_shared;
 
 #if defined(__NetBSD__)
+       printf("\n");
        if ((sc->tulip_features & TULIP_HAVE_SLAVEDINTR) == 0) {
            pci_intr_handle_t intrhandle;
            const char *intrstr;
 
-           printf("\n");
-
            if (pci_intr_map(pa, &intrhandle)) {
                printf("%s: couldn't map interrupt\n", sc->tulip_dev.dv_xname);
                return;



Home | Main Index | Thread Index | Old Index