summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-07-18 17:51:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-07-18 17:51:49 +0000
commit61db65ef6fb10439bc965c9116b7d5f8e06fe47c (patch)
treed13abdd4f669c0ab744e2ca8c2e9629fe58fdbf4 /sys/dev
parent00f5016e9af0ae470437db06cac0f1cf86f835ee (diff)
Compensate for NCOM_PUC disappearance; ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/puc/com_puc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c
index acea3c35fbb..35c4ee9423f 100644
--- a/sys/dev/puc/com_puc.c
+++ b/sys/dev/puc/com_puc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_puc.c,v 1.7 2004/08/19 21:47:54 miod Exp $ */
+/* $OpenBSD: com_puc.c,v 1.8 2005/07/18 17:51:48 miod Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
@@ -72,13 +72,13 @@
int com_puc_match(struct device *, void *, void *);
void com_puc_attach(struct device *, struct device *, void *);
-#if NCOM_PUC
+#if NCOM > 0
struct cfattach com_puc_ca = {
sizeof(struct com_softc), com_puc_match, com_puc_attach
};
#endif
-#if NPCCOM_PUC
+#if NPCCOM > 0
struct cfattach pccom_puc_ca = {
sizeof(struct com_softc), com_puc_match, com_puc_attach
};