Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci setup interface backpointer



details:   https://anonhg.NetBSD.org/src/rev/a04e57e44b22
branches:  trunk
changeset: 785825:a04e57e44b22
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 31 11:38:36 2013 +0000

description:
setup interface backpointer

diffstat:

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

diffs (26 lines):

diff -r 02c73559b836 -r a04e57e44b22 sys/dev/pci/if_athn_pci.c
--- a/sys/dev/pci/if_athn_pci.c Sun Mar 31 11:12:30 2013 +0000
+++ b/sys/dev/pci/if_athn_pci.c Sun Mar 31 11:38:36 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_athn_pci.c,v 1.3 2013/03/31 11:12:30 martin Exp $   */
+/*     $NetBSD: if_athn_pci.c,v 1.4 2013/03/31 11:38:36 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.3 2013/03/31 11:12:30 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.4 2013/03/31 11:38:36 martin Exp $");
 
 #include "opt_inet.h"
 
@@ -208,6 +208,7 @@
        }
        aprint_verbose_dev(self, "interrupting at %s\n", intrstr);
 
+       ic->ic_ifp = &sc->sc_if;
        if (athn_attach(sc) != 0)
                goto fail2;
 



Home | Main Index | Thread Index | Old Index