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 sure we use firmware->host communication ch...
details: https://anonhg.NetBSD.org/src/rev/26365b4474d4
branches: trunk
changeset: 487906:26365b4474d4
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jun 14 17:54:33 2000 +0000
description:
Make sure we use firmware->host communication channel in cz_intr(), from
Bill Studenmund.
diffstat:
sys/dev/pci/cz.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r cfaacab16fbd -r 26365b4474d4 sys/dev/pci/cz.c
--- a/sys/dev/pci/cz.c Wed Jun 14 17:24:02 2000 +0000
+++ b/sys/dev/pci/cz.c Wed Jun 14 17:54:33 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cz.c,v 1.8 2000/06/09 18:00:45 wrstuden Exp $ */
+/* $NetBSD: cz.c,v 1.9 2000/06/14 17:54:33 thorpej Exp $ */
/*-
* Copyright (c) 2000 Zembu Labs, Inc.
@@ -698,8 +698,8 @@
while ((command = (CZ_PLX_READ(cz, PLX_LOCAL_PCI_DOORBELL) & 0xff))) {
rval = 1;
- channel = CZ_FWCTL_READ(cz, BRDCTL_HCMD_CHANNEL);
- param = CZ_FWCTL_READ(cz, BRDCTL_HCMD_PARAM);
+ channel = CZ_FWCTL_READ(cz, BRDCTL_FWCMD_CHANNEL);
+ param = CZ_FWCTL_READ(cz, BRDCTL_FWCMD_PARAM);
/* now clear this interrupt, posslibly enabling another */
CZ_PLX_WRITE(cz, PLX_LOCAL_PCI_DOORBELL, command);
Home |
Main Index |
Thread Index |
Old Index