<br><br><div class="gmail_quote">On Thu, Nov 13, 2008 at 8:58 AM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>></span> wrote:<br><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, Nov 13, 2008 at 6:03 AM, Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br></div><div class="Ih2E3d"><br>
> That makes it clear which devices get created (all the ones mentioned in the<br>
> dts.)  Then the SIO code can take care of special cases like devices that<br>
> need to be set even when they're disabled.<br>
<br>
</div>yes, but this is *exactly* the model that people are objecting to in<br>
the other thread. We kind of need to make up our mind here.<br><div class="Ih2E3d"></div></blockquote><div><br>How about we get something working, then improve on it.  Here's my latest try.<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;">
<div class="Ih2E3d">
><br>
> While I'm wishing I'd like to use pnp@W83627HF_KBC instead of pnp@5 and have<br>
> that just work.  I think it might not be too hard, but it's a syntax error<br>
> now.  It would definitely reduce the chance for mistakes.<br>
<br>
</div>I would rather not do this.</blockquote><div> </div><div>OK.  It's bitten me once, but I'll be more careful. <br></div><div> </div><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">
> That's right.  The problem is that there needs to be some generic way to<br>
> pass this information to the resource code.<br>
<br>
</div>This is actually not even v2, it's v1. It did not work because you<br>
have resources in that struct that don't<br>
exist on many devices, and there are always new devices with new<br>
resource types that break the model.<br>
<div class="Ih2E3d"><br>
> Right now it allocates a new<br>
> device for each of the SuperIO PNP functions, so there are dynamic devices<br>
> for all of them.  I think that there should only be dynamic devices for<br>
> things that get plugged in.<br>
<br>
</div>I am still not convinced this really matters.<font color="#888888"></font></blockquote><div><br>I'm attaching two logs.  One is without the attached patch, the other with.  It fixes resource allocation and makes the logs much cleaner, but it doesn't make the box work correctly.  It's just hard to debug too many things at once.  I'd like to get the SuperIO working, then resource allocation, then VGA if its still broken, then HT ...<br>
<br>The patch won't apply for you because it depends on other code in the tree.  There's just too much to send now, and I haven't gotten organized enough to use Jordan's script yet.<br><br>Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br>
<br>Thanks,<br>Myles <br></div></div><br>