Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci add prototype.



details:   https://anonhg.NetBSD.org/src/rev/292ad08f3591
branches:  trunk
changeset: 822536:292ad08f3591
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Fri Mar 24 09:59:05 2017 +0000

description:
add prototype.

I have forgotten the fix by wm_softint_establish(). Thank you christos@n.o!

diffstat:

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

diffs (26 lines):

diff -r 5073022bfa13 -r 292ad08f3591 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Fri Mar 24 09:22:46 2017 +0000
+++ b/sys/dev/pci/if_wm.c       Fri Mar 24 09:59:05 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.500 2017/03/22 08:44:41 knakahara Exp $    */
+/*     $NetBSD: if_wm.c,v 1.501 2017/03/24 09:59:05 knakahara Exp $    */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -84,7 +84,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.500 2017/03/22 08:44:41 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.501 2017/03/24 09:59:05 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -675,6 +675,7 @@
 static void    wm_rss_getkey(uint8_t *);
 static void    wm_init_rss(struct wm_softc *);
 static void    wm_adjust_qnum(struct wm_softc *, int);
+static int     wm_softint_establish(struct wm_softc *, int, int);
 static int     wm_setup_legacy(struct wm_softc *);
 static int     wm_setup_msix(struct wm_softc *);
 static int     wm_init(struct ifnet *);



Home | Main Index | Thread Index | Old Index