Module Name: src Committed By: martin Date: Sun Mar 31 11:12:30 UTC 2013
Modified Files: src/sys/dev/pci: if_athn_pci.c Log Message: Initialize sc_dev To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_athn_pci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_athn_pci.c diff -u src/sys/dev/pci/if_athn_pci.c:1.2 src/sys/dev/pci/if_athn_pci.c:1.3 --- src/sys/dev/pci/if_athn_pci.c:1.2 Sun Mar 31 10:51:38 2013 +++ src/sys/dev/pci/if_athn_pci.c Sun Mar 31 11:12:30 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: if_athn_pci.c,v 1.2 2013/03/31 10:51:38 martin Exp $ */ +/* $NetBSD: if_athn_pci.c,v 1.3 2013/03/31 11:12:30 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.2 2013/03/31 10:51:38 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.3 2013/03/31 11:12:30 martin Exp $"); #include "opt_inet.h" @@ -131,6 +131,7 @@ athn_pci_attach(device_t parent, device_ pci_product_id_t subsysid; int error; + sc->sc_dev = self; sc->sc_dmat = pa->pa_dmat; psc->psc_pc = pa->pa_pc; psc->psc_tag = pa->pa_tag;