On Thu, Oct 23, 2008 at 9:04 PM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Oct 23, 2008 at 5:30 PM, Corey Osgood <<a href="mailto:corey.osgood@gmail.com">corey.osgood@gmail.com</a>> wrote:<br>
> I've got a few more questions that I could probably figure out answers to by<br>
> testing, but hopefully it's easier just to ask:<br>
><br>
> * If a device is defined in the dts, but disabled during<br>
> phase4_enable_disable which renders the device hidden, what will/should v3<br>
> do?<br>
<br>
</div>the device should end up not even being found. marc felt that<br>
phase4_enable_disable was ill-defined and we are working on making<br>
this clearer.</blockquote><div><br>Alright, but what happens after that? coreboot dies with loud warning messages, or moves on to the next device?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
><br><div class="Ih2E3d">
> * If another device appears where the disabled device should have been (in<br>
> this case, the ide controller is now where sata used to be), what should<br>
> happen? Will the ide controller's config (that was intended for another<br>
> location) be used? In this case, it's D10F0 and F1.<br>
><br>
<br>
</div>It should not because the devid and vendor id should not match.</blockquote><div><br>Let me try to clarify that: if the sata controller at d10f0 disappears, and the ide controller moves from d10f1 to d10f0 (and maintains its original vendor/dev ids), will the dts configuration that was intended for the ide controller at d10f1 be used? If not, could the ide controller and sata controller both be configured for d10f0, with the sata controller set to disabled?<br>
<br>Thanks!<br>Corey<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> * phase4_enable_disable passes the actual device it's enabling/disabling,<br>
<div class="Ih2E3d">
> right?<br>
<br>
</div>yes.<br>
<div class="Ih2E3d"><br>
><br>
> * What's the format of devfn (as in dev->path.pci.devfn)? dev << 4 |<br>
> function?<br>
><br>
<br>
</div>dev <<3 | fn<br>
<font color="#888888"><br>
ron<br>
</font></blockquote></div><br>