summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-12-13 17:43:04 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-12-13 17:43:04 +0000
commit4e3f07ad324f86676c2701793828dfe8ae87f0ae (patch)
treeb4ae6541467e0c7f7119e409ac2bcdb2287a2ec9 /sys/dev/pci
parent6d8b2cf9fbe2a41e1ab80cf83e42a0802505199c (diff)
Fix old alpha bug recently triggered by conversion to busdma.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_dc_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index c2c66b026f9..6e8a07d8151 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.21 2001/12/06 20:12:00 jason Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.22 2001/12/13 17:43:03 nate Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -457,7 +457,7 @@ void dc_pci_attach(parent, self, aux)
/* Remember the SRM console media setting */
if (DC_IS_INTEL(sc)) {
- command = pci_read_config(dev, DC_PCI_CFDD, 4);
+ command = pci_conf_read(pc, pa->pa_tag, DC_PCI_CFDD);
command &= ~(DC_CFDD_SNOOZE_MODE|DC_CFDD_SLEEP_MODE);
switch ((command >> 8) & 0xff) {
case 3: