Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Make this compile without PUCCN defined.
details: https://anonhg.NetBSD.org/src/rev/fe69387c7c45
branches: trunk
changeset: 495487:fe69387c7c45
user: jlam <jlam%NetBSD.org@localhost>
date: Sat Jul 29 17:43:38 2000 +0000
description:
Make this compile without PUCCN defined.
diffstat:
sys/dev/pci/puc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r dc8e5f2fa178 -r fe69387c7c45 sys/dev/pci/puc.c
--- a/sys/dev/pci/puc.c Sat Jul 29 17:32:47 2000 +0000
+++ b/sys/dev/pci/puc.c Sat Jul 29 17:43:38 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puc.c,v 1.6 2000/07/28 20:43:45 castor Exp $ */
+/* $NetBSD: puc.c,v 1.7 2000/07/29 17:43:38 jlam Exp $ */
/*
* Copyright (c) 1996, 1998, 1999
@@ -157,7 +157,9 @@
int i, barindex;
bus_addr_t base;
bus_space_tag_t tag;
+#ifdef PUCCN
bus_space_handle_t ioh;
+#endif
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),
@@ -208,7 +210,7 @@
tag = pa->pa_memt;
base = PCI_MAPREG_MEM_ADDR(bar);
}
-#ifdef PUCCN
+#ifdef PUCCN
if (com_is_console(tag, base, &ioh)) {
sc->sc_bar_mappings[i].mapped = 1;
sc->sc_bar_mappings[i].a = base;
Home |
Main Index |
Thread Index |
Old Index