From: Greg Gallagher <greg@embeddedgreg.com>
To: xenomai@xenomai.org
Subject: [Xenomai] [PATCH] Increase RTDM_MAX_MINOR to 4096 form 1024
Date: Thu, 19 Apr 2018 00:14:55 -0400 [thread overview]
Message-ID: <20180419041455.13807-1-greg@embeddedgreg.com> (raw)
Increase the number of RTDM devices that are allowed to be registered to 4096 to allow gpio drivers with higher pin numbers to be able to register in rtdm space.
---
include/cobalt/kernel/rtdm/driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/cobalt/kernel/rtdm/driver.h b/include/cobalt/kernel/rtdm/driver.h
index 63beb484c..5a205852e 100644
--- a/include/cobalt/kernel/rtdm/driver.h
+++ b/include/cobalt/kernel/rtdm/driver.h
@@ -94,7 +94,7 @@ enum rtdm_selecttype;
/** @} Device Flags */
/** Maximum number of named devices per driver. */
-#define RTDM_MAX_MINOR 1024
+#define RTDM_MAX_MINOR 4096
/** @} rtdm_device_register */
--
2.14.1
reply other threads:[~2018-04-19 4:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180419041455.13807-1-greg@embeddedgreg.com \
--to=greg@embeddedgreg.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.