Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/ixm1200 make compile when PCI_DEBUG was defined
details: https://anonhg.NetBSD.org/src/rev/801c3b70eb1b
branches: trunk
changeset: 534319:801c3b70eb1b
user: ichiro <ichiro%NetBSD.org@localhost>
date: Sun Jul 21 22:16:58 2002 +0000
description:
make compile when PCI_DEBUG was defined
diffstat:
sys/arch/evbarm/ixm1200/ixm1200_pci.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 9743e39033a5 -r 801c3b70eb1b sys/arch/evbarm/ixm1200/ixm1200_pci.c
--- a/sys/arch/evbarm/ixm1200/ixm1200_pci.c Sun Jul 21 20:43:53 2002 +0000
+++ b/sys/arch/evbarm/ixm1200/ixm1200_pci.c Sun Jul 21 22:16:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixm1200_pci.c,v 1.1 2002/07/15 17:13:32 ichiro Exp $ */
+/* $NetBSD: ixm1200_pci.c,v 1.2 2002/07/21 22:16:58 ichiro Exp $ */
/*
* Copyright (c) 2002
* Ichiro FUKUHARA <ichiro%ichiro.org@localhost>.
@@ -61,6 +61,10 @@
int (*func)(void *), void *);
void ixm1200_pci_intr_disestablish(void *, void *);
+#ifdef PCI_DEBUG
+extern void ixp12x0_pci_decompose_tag();
+#endif
+
void
ixm1200_pci_init(pc, cookie)
pci_chipset_tag_t pc;
@@ -86,7 +90,7 @@
pcitag_t intrtag = pa->pa_intrtag;
int bus, device, function;
- ixp12x0_pci_decompose_tag(pcv, intrtag, &bus, &device, &function);
+ ixp12x0_pci_decompose_tag(v, intrtag, &bus, &device, &function);
printf("ixm1200_pci_intr_map: v=%p, tag=%08lx intrpin=%d line=%d dev=%d\n",
v, intrtag, pin, line, device);
#else
Home |
Main Index |
Thread Index |
Old Index