Module Name: src Committed By: martin Date: Mon Jul 22 14:40:03 UTC 2013
Modified Files: src/sys/dev/pci: puc.c Log Message: Unbreak the build - soren, please review! To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/puc.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/puc.c diff -u src/sys/dev/pci/puc.c:1.33 src/sys/dev/pci/puc.c:1.34 --- src/sys/dev/pci/puc.c:1.33 Mon Jul 22 13:40:36 2013 +++ src/sys/dev/pci/puc.c Mon Jul 22 14:40:03 2013 @@ -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 @@ puc_attach(device_t parent, device_t sel 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));