summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-02-13 10:59:07 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-02-13 10:59:07 +0000
commit42d2bc1575cab2122d474d8ed00c3f6a767af83c (patch)
treedc436137f070fadaa09f83dfa6d8ad2d3001210d /sys/dev
parent98b4a8e30ae23331ad90ae7e25b13abc568d7766 (diff)
Stupid typo that made errors hang the driver
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/gdt_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/gdt_pci.c b/sys/dev/pci/gdt_pci.c
index d84b68cdedc..a2fdf58b851 100644
--- a/sys/dev/pci/gdt_pci.c
+++ b/sys/dev/pci/gdt_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt_pci.c,v 1.1 2000/02/07 00:33:03 niklas Exp $ */
+/* $OpenBSD: gdt_pci.c,v 1.2 2000/02/13 10:59:06 niklas Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -768,7 +768,7 @@ gdt_mpr_intr(gdt, ctx)
GDT_DPRINTF(GDT_D_INTR, ("gdt_mpr_intr(%p) ", gdt));
if (ctx->istatus & 0x80) { /* error flag */
- ctx->istatus &= 0x80;
+ ctx->istatus &= ~0x80;
ctx->cmd_status = bus_space_read_2(gdt->sc_dpmemt,
gdt->sc_dpmemh, GDT_MPR_STATUS);
if (ctx->istatus == GDT_ASYNCINDEX) {