Oops, missing upgrade documentation for the xxx_recordDeviceDriver routine.

This commit is contained in:
Andrew Johnson
2003-09-04 23:09:50 +00:00
parent 84f9a59759
commit 0784bbec71
3 changed files with 29 additions and 7 deletions

View File

@@ -102,8 +102,8 @@ from the st.cmd files in the iocBoot subdirectories.
<p>Remove</p>
<pre>ld &lt; iocCore
</pre>
<p>Immediately after the dbLoadDatabase command add</p>
<pre>registerRecordDeviceDriver(pdbbase)
<p>Immediately after the dbLoadDatabase(xxx.dbd) command add</p>
<pre>xxx_registerRecordDeviceDriver(pdbbase)
</pre>
</li>
</ul>

View File

@@ -213,7 +213,7 @@ ld &lt; iocCore</pre>
</p>
to
<pre>dbLoadDatabase("../../dbd/&lt;name&gt;.dbd")
registerRecordDeviceDriver(pdbbase)</pre>
&lt;name&gt;_registerRecordDeviceDriver(pdbbase)</pre>
<h3>recGbl calls</h3>

View File

@@ -6,10 +6,32 @@
<body>
<center>
<h2> Converting an EPICS R3.14.2 application to R3.14.3</h2></center>
<h2>Converting an EPICS R3.14.2 application to R3.14.3</h2></center>
<p><br>This document describes how to convert a R3.14.2 application
so that it builds with release R3.14.3.
<p>This document describes how to convert a R3.14.2 application
so that it builds and runs properly with release R3.14.3.</p>
</p><h3>No changes required.</h3>
<h3>registerRecordDeviceDriver Name Change</h3>
<p>All application iocBoot/iocxxx/st.cmd files must be modified for R3.14.3 as
the generated routine that registers record device and driver support has been
renamed to incorporate the name of the dbd file it came from. The change to
the startup script is straightforward; any pair of lines like this:</p>
<blockquote>
<pre>dbLoadDatabase("dbd/<i>something</i>.dbd",0,0)
registerRecordDeviceDriver(pdbbase)</pre>
</blockquote>
<p>must have the second line changed so the result looks like this:</p>
<blockquote>
<pre>dbLoadDatabase("dbd/<i>something</i>.dbd",0,0)
<i>something</i>_registerRecordDeviceDriver(pdbbase)</pre>
</blockquote>
<p>There may be other pathname components in the dbLoadDatabase line which
should remain exactly as before.</p>
</body>
</html>