<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 7/30/2013 10:08 AM, Shubham Somani
wrote:<br>
</div>
<blockquote
cite="mid:CAB8Y--DkHNf64tC5O-BcHd2MHAcHb+MhB1-uZ1RMZ8=PVigQvg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Currently we can get the maximum number of drivers using
sizeof(ARRAY)/sizeof(ELEMENT) by default. But these are only
for the static drivers.<br>
</div>
<div><br>
</div>
<div>Should we add a new macro in conf.t <font color="#500050"
face="arial, sans-serif">for CONFIGURE_</font><span
style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">NUMBER_OF_DYNAMIC_</span><span
style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">DRIVERS
in case the user wishes for more?</span></div>
<div><span
style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif"><br>
</span></div>
</div>
</blockquote>
FWIW I suggested this. currently if the user wants to have <br>
dynamically installed drivers, they have to define<br>
CONFIGURE_MAXIMUM_DRIVERS to be greater than the<br>
number of statically configured device drivers.<br>
<br>
This would make a logical distinction between the number<br>
of static and dynamic drivers.<br>
<br>
I might also be prone to obsolete CONFIGURE_MAXIMUM_DRIVERS.<br>
Add code to give the user an error with instructions.<br>
<blockquote
cite="mid:CAB8Y--DkHNf64tC5O-BcHd2MHAcHb+MhB1-uZ1RMZ8=PVigQvg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><span
style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">Cheers,</span></div>
<div><span
style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">Shubham</span></div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Joel Sherrill, Ph.D. Director of Research & Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985 </pre>
</body>
</html>