summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-09-04 04:01:43 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-09-04 04:01:43 +0000
commit038797e62f98d629f1e4112e0ba7c263e248e482 (patch)
tree9f4d5da25349b6b2a11c5d4e0f94aa31346d7300
parent6e97acb2d128e11dc28b5e21b4c04f2cf5ca81e0 (diff)
Fix mask for callout unit
-rw-r--r--sys/dev/pci/cz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c
index c2e2d84a912..402b758a821 100644
--- a/sys/dev/pci/cz.c
+++ b/sys/dev/pci/cz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cz.c,v 1.3 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: cz.c,v 1.4 2001/09/04 04:01:42 nate Exp $ */
/* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */
/*-
@@ -854,7 +854,7 @@ cz_wait_pci_doorbell(struct cz_softc *cz, char *wstring)
* Cyclades-Z TTY code starts here...
*****************************************************************************/
-#define CZTTYDIALOUT_MASK 0x80000
+#define CZTTYDIALOUT_MASK 0x80
#define CZTTY_DIALOUT(dev) (minor((dev)) & CZTTYDIALOUT_MASK)
#define CZTTY_CZ(sc) ((sc)->sc_parent)