summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-10-05 20:47:46 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-10-05 20:47:46 +0000
commitf8f7fdaee3b8c22116fa413e469f92fb20cbaf6a (patch)
treefceb0d3b18973b9da4d5be42d9144173b802e8d5 /sys
parentab647ee8741b82d207b00c6c0501c5531982258d (diff)
make compile with AUDIO_DEBUG defined
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/sv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/sv.c b/sys/dev/pci/sv.c
index 40453cf1924..dfa98af0603 100644
--- a/sys/dev/pci/sv.c
+++ b/sys/dev/pci/sv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sv.c,v 1.3 1998/07/13 13:53:16 csapuntz Exp $ */
+/* $OpenBSD: sv.c,v 1.4 1998/10/05 20:47:45 niklas Exp $ */
/*
* Copyright (c) 1998 Constantine Paul Sapuntzakis
@@ -422,7 +422,8 @@ sv_dumpregs(sc)
{ int idx;
for (idx = 0; idx < 0x50; idx += 4) {
- printf ("%02x = %x\n", idx, pci_conf_read(pa->pa_pc, pa->pa_tag, idx));
+ printf ("%02x = %x\n", idx, pci_conf_read(sc->sc_pci_chipset_tag,
+ sc->sc_pci_tag, idx));
}
}