Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Unbreak the build - soren, please review!



details:   https://anonhg.NetBSD.org/src/rev/b9627a05f1a5
branches:  trunk
changeset: 788832:b9627a05f1a5
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jul 22 14:40:03 2013 +0000

description:
Unbreak the build - soren, please review!

diffstat:

 sys/dev/pci/puc.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r c6a33801d67d -r b9627a05f1a5 sys/dev/pci/puc.c
--- a/sys/dev/pci/puc.c Mon Jul 22 13:56:46 2013 +0000
+++ b/sys/dev/pci/puc.c Mon Jul 22 14:40:03 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puc.c,v 1.33 2013/07/22 13:40:36 soren Exp $   */
+/*     $NetBSD: puc.c,v 1.34 2013/07/22 14:40:03 martin Exp $  */
 
 /*
  * Copyright (c) 1996, 1998, 1999
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puc.c,v 1.33 2013/07/22 13:40:36 soren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puc.c,v 1.34 2013/07/22 14:40:03 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -149,8 +149,6 @@
        int i, barindex;
        int locs[PUCCF_NLOCS];
 
-       sc->sc_pc = pa->pa_pc;
-
        subsys = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_SUBSYS_ID_REG);
        sc->sc_desc = puc_find_description(PCI_VENDOR(pa->pa_id),
            PCI_PRODUCT(pa->pa_id), PCI_VENDOR(subsys), PCI_PRODUCT(subsys));



Home | Main Index | Thread Index | Old Index