Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Comment out a currently unused variable, but lea...
details: https://anonhg.NetBSD.org/src/rev/89de82074ae0
branches: trunk
changeset: 790014:89de82074ae0
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 09:19:52 2013 +0000
description:
Comment out a currently unused variable, but leave it around for debug/
documentation purposes.
diffstat:
sys/dev/pci/pci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 512536100933 -r 89de82074ae0 sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c Sun Sep 15 09:17:28 2013 +0000
+++ b/sys/dev/pci/pci.c Sun Sep 15 09:19:52 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci.c,v 1.143 2012/10/20 06:04:01 matt Exp $ */
+/* $NetBSD: pci.c,v 1.144 2013/09/15 09:19:52 martin Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.143 2012/10/20 06:04:01 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.144 2013/09/15 09:19:52 martin Exp $");
#include "opt_pci.h"
@@ -274,7 +274,7 @@
{
pci_chipset_tag_t pc = sc->sc_pc;
struct pci_attach_args pa;
- pcireg_t id, csr, class, intr, bhlcr, bar, endbar;
+ pcireg_t id, /* csr, */ class, intr, bhlcr, bar, endbar;
int ret, pin, bus, device, function, i, width;
int locs[PCICF_NLOCS];
@@ -289,7 +289,7 @@
return 0;
id = pci_conf_read(pc, tag, PCI_ID_REG);
- csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
+ /* csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); */
class = pci_conf_read(pc, tag, PCI_CLASS_REG);
/* Invalid vendor ID value? */
Home |
Main Index |
Thread Index |
Old Index