<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27600">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">include/device/pci: Fix union endianess<br><br>Change-Id: I3dad4153008654d69db881e83e96421e9e3bde5a<br>Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com><br>---<br>M src/include/device/pci.h<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/27600/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/include/device/pci.h b/src/include/device/pci.h</span><br><span>index f1ab91b..e7e5808 100644</span><br><span>--- a/src/include/device/pci.h</span><br><span>+++ b/src/include/device/pci.h</span><br><span>@@ -59,9 +59,14 @@</span><br><span> struct msix_entry {</span><br><span>     union {</span><br><span>              struct {</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef __LITTLE_ENDIAN__</span><br><span>                   u32 lower_addr;</span><br><span>                      u32 upper_addr;</span><br><span style="color: hsl(120, 100%, 40%);">+#else</span><br><span style="color: hsl(120, 100%, 40%);">+                        u32 upper_addr;</span><br><span style="color: hsl(120, 100%, 40%);">+                       u32 lower_addr;</span><br><span>              };</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span>           struct {</span><br><span>                     u64 addr;</span><br><span>            };</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27600">change 27600</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27600"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I3dad4153008654d69db881e83e96421e9e3bde5a </div>
<div style="display:none"> Gerrit-Change-Number: 27600 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com> </div>