summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-09-30 17:45:32 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-09-30 17:45:32 +0000
commit2089d60b1455bbcc181a25b376999406ea4bccd8 (patch)
treee247ad233dcde880103516d5d73da87e8863a4b3
parentce63fb543a9d13ca42295c2c91ecad51d612f206 (diff)
Reduce max number of devices per bus to 16.
-rw-r--r--sys/dev/onewire/onewire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/onewire/onewire.c b/sys/dev/onewire/onewire.c
index 573322e7eb4..9b914bf099e 100644
--- a/sys/dev/onewire/onewire.c
+++ b/sys/dev/onewire/onewire.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: onewire.c,v 1.5 2006/09/30 15:52:21 grange Exp $ */
+/* $OpenBSD: onewire.c,v 1.6 2006/09/30 17:45:31 grange Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -39,7 +39,7 @@
#define DPRINTF(x)
#endif
-#define ONEWIRE_MAXDEVS 256
+#define ONEWIRE_MAXDEVS 16
#define ONEWIRE_SCANTIME 3
struct onewire_softc {