<p>Add configuration variables for the serial port and its options,<br>
allowing the configuration of a serial port at runtime via either "set",<br>
or DHCP options.</p>
<p>The new "serial-port" option accepts values of "1" through "4" for COM1<br>
to COM4 respectively. For the serial options, rather than adding a<br>
configuration variable for each of them (baud, parity etc.) and<br>
complicate both the code and the configuration unncessarily, add a<br>
single, generic "serial-options" setting that accepts string values such<br>
as "115200" or "38400n81". It also accepts the special value "preserve"<br>
to preserve the previous configuration of the serial port.</p>
<p>Note that this commit does <em>not</em> enable CONSOLE_SERIAL by default,<br>
although that could potentially follow in a subsequent commit, given<br>
this would be now a no-op unless a port is explicitly configured.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/ipxe/ipxe/pull/107'>https://github.com/ipxe/ipxe/pull/107</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>[serial] Allow serial port configuration at runtime</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/107/files#diff-35c3e376fbb6e68361289cfd0dfb7a2e">src/config/serial.h</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/107/files#diff-184809c1b2275791999777e13324a064">src/core/serial.c</a>
    (214)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/107/files#diff-add396a18dd843fcf7b3687d691dbfde">src/include/ipxe/dhcp.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/107/files#diff-3829906c8ef75e96c99f818093d43702">src/include/ipxe/errfile.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/ipxe/ipxe/pull/107.patch'>https://github.com/ipxe/ipxe/pull/107.patch</a></li>
  <li><a href='https://github.com/ipxe/ipxe/pull/107.diff'>https://github.com/ipxe/ipxe/pull/107.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/107?email_source=notifications&email_token=AAFNGVB7IEF2UZVQAKITJUDRGEE5PA5CNFSM4LDBYLPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITEBOKQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVGB3NEMN2FFLSDX4RLRGEE5PANCNFSM4LDBYLPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVBJNXMJJTVSM3IMGZ3RGEE5PA5CNFSM4LDBYLPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITEBOKQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/107?email_source=notifications\u0026email_token=AAFNGVB7IEF2UZVQAKITJUDRGEE5PA5CNFSM4LDBYLPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITEBOKQ",
"url": "https://github.com/ipxe/ipxe/pull/107?email_source=notifications\u0026email_token=AAFNGVB7IEF2UZVQAKITJUDRGEE5PA5CNFSM4LDBYLPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITEBOKQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>