summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortanimura <tanimura@FreeBSD.org>2000-09-18 10:17:38 +0000
committertanimura <tanimura@FreeBSD.org>2000-09-18 10:17:38 +0000
commite368cca5cf2cf743b617c8f27433276757ed639e (patch)
treea75ace7fe3321edf71d15d68a37759eb0c79fdac /sys
parent56aecf1ece0ec7d4fe1920c764fc67f36f30e0e4 (diff)
downloadFreeBSD-src-e368cca5cf2cf743b617c8f27433276757ed639e.zip
FreeBSD-src-e368cca5cf2cf743b617c8f27433276757ed639e.tar.gz
Since the unit number of a midi/sequencer device is expressed in 4
bits, we can configure only up to 16 units.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/midi/midi.h2
-rw-r--r--sys/dev/sound/midi/sequencer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/midi/midi.h b/sys/dev/sound/midi/midi.h
index 2e36ed0..a702222 100644
--- a/sys/dev/sound/midi/midi.h
+++ b/sys/dev/sound/midi/midi.h
@@ -217,7 +217,7 @@ struct _mididev_info {
* then ioctls and other stuff
*/
-#define NMIDI_MAX 64 /* Number of supported devices */
+#define NMIDI_MAX 16 /* Number of supported devices */
/*
* many variables should be reduced to a range. Here define a macro
diff --git a/sys/dev/sound/midi/sequencer.h b/sys/dev/sound/midi/sequencer.h
index 7275b77..e231b06 100644
--- a/sys/dev/sound/midi/sequencer.h
+++ b/sys/dev/sound/midi/sequencer.h
@@ -200,7 +200,7 @@ struct _seqdev_info {
/*
* then ioctls and other stuff
*/
-#define NSEQ_MAX 64 /* Number of supported devices */
+#define NSEQ_MAX 16 /* Number of supported devices */
/*
* many variables should be reduced to a range. Here define a macro
OpenPOWER on IntegriCloud