Module Name: src Committed By: snj Date: Sat Jan 31 07:44:13 UTC 2015
Modified Files: src/sys/dev/pci [netbsd-7]: if_fpa.c Log Message: Pull up following revision(s) (requested by martin in ticket #469): sys/dev/pci/if_fpa.c: revision 1.60 Fix obviously missing "sc->sc_dev = self" initialization. Might help PR port-i386/49602. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.59.4.1 src/sys/dev/pci/if_fpa.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_fpa.c diff -u src/sys/dev/pci/if_fpa.c:1.59 src/sys/dev/pci/if_fpa.c:1.59.4.1 --- src/sys/dev/pci/if_fpa.c:1.59 Sat Mar 29 19:28:24 2014 +++ src/sys/dev/pci/if_fpa.c Sat Jan 31 07:44:13 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: if_fpa.c,v 1.59 2014/03/29 19:28:24 christos Exp $ */ +/* $NetBSD: if_fpa.c,v 1.59.4.1 2015/01/31 07:44:13 snj Exp $ */ /*- * Copyright (c) 1995, 1996 Matt Thomas <m...@3am-software.com> @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.59 2014/03/29 19:28:24 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.59.4.1 2015/01/31 07:44:13 snj Exp $"); #ifdef __NetBSD__ #include "opt_inet.h" @@ -410,6 +410,8 @@ pdq_pci_attach(device_t const parent, de aprint_naive(": FDDI controller\n"); + sc->sc_dev = self; + data = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CFLT); if ((data & 0xFF00) < (DEFPA_LATENCY << 8)) { data &= ~0xFF00;