summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i82365var.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-05-02 22:35:41 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-05-02 22:35:41 +0000
commitcfda8b8847afc6a44e952fa3a892e806823a7257 (patch)
treedd351927090d64e44d7d1b657b7936319dbacb4d /sys/dev/ic/i82365var.h
parent90818f1a628cce299c28451fe18ca8718e6b4a7f (diff)
Add support for Vadem PCMCIA controllers.
Diffstat (limited to 'sys/dev/ic/i82365var.h')
-rw-r--r--sys/dev/ic/i82365var.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/i82365var.h b/sys/dev/ic/i82365var.h
index 7c62228d87e..511d4e277c9 100644
--- a/sys/dev/ic/i82365var.h
+++ b/sys/dev/ic/i82365var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82365var.h,v 1.2 1999/01/03 10:05:52 deraadt Exp $ */
+/* $OpenBSD: i82365var.h,v 1.3 1999/05/02 22:35:40 fgsch Exp $ */
/* $NetBSD: i82365var.h,v 1.4 1998/05/23 18:32:29 matt Exp $ */
/*
@@ -171,5 +171,7 @@ pcic_write(h, idx, data)
if (idx != -1)
bus_space_write_1(h->sc->iot, h->sc->ioh, PCIC_REG_INDEX,
h->sock + idx);
- bus_space_write_1(h->sc->iot, h->sc->ioh, PCIC_REG_DATA, (data));
+ if (data != -1)
+ bus_space_write_1(h->sc->iot, h->sc->ioh, PCIC_REG_DATA,
+ (data));
}