diff options
| author | martin <martin@NetBSD.org> | 2013-03-31 11:38:36 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2013-03-31 11:38:36 +0000 |
| commit | f6daaa10442feedef17fa25e499c283c1013787a (patch) | |
| tree | 7748fd043464dcfb6aab47722d966b0124cf9567 /sys/dev | |
| parent | dc90b1695289d91a44623ac025d354b530565619 (diff) | |
setup interface backpointer
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_athn_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_athn_pci.c b/sys/dev/pci/if_athn_pci.c index db50238e65c..fdf866e2b7e 100644 --- a/sys/dev/pci/if_athn_pci.c +++ b/sys/dev/pci/if_athn_pci.c @@ -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 @@ athn_pci_attach(device_t parent, device_t self, void *aux) } aprint_verbose_dev(self, "interrupting at %s\n", intrstr); + ic->ic_ifp = &sc->sc_if; if (athn_attach(sc) != 0) goto fail2; |
