summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1998-10-05 20:47:45 +0000
committerniklas <niklas@openbsd.org>1998-10-05 20:47:45 +0000
commite0134089076d1ceb9f7bf64be69bb3a85df5a318 (patch)
treeb59c5a3f05d61fa76d68f8b1e16153c17c38ad5c
parentImport of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD build (diff)
downloadwireguard-openbsd-e0134089076d1ceb9f7bf64be69bb3a85df5a318.tar.xz
wireguard-openbsd-e0134089076d1ceb9f7bf64be69bb3a85df5a318.zip
make compile with AUDIO_DEBUG defined
-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));
}
}