On 09.10.2008 17:40, ron minnich wrote:
On Thu, Oct 9, 2008 at 8:30 AM, Myles Watson mylesgw@gmail.com wrote:
Very nice. Now how do we disable the 8111 nic and EHCI (like v2 does)?
I'm
still curious how that works.
Disable for scanning or disable once it is all scanned and address space allocated?
Good question. What did the v2 disable mean?
so here are the cases. You might not want to scan the device, or you might want the device to actually not be visible.
make it not scanned, put enabled = "0" in dts. *possibly* make it disappear, put enabled = "0" in dts but also have a phase4_enable_disable that will look at dev->enabled and make the magic happen.
That disappearance trick only works only with geode right now and needs disable_vpci or somesuch set in the dts. I had a patch which allowed you to use "hidden" as a property in the dts. I can dig it up if you want.
For now, you can try enabled = "0"; in the dts entry for the nic.
I thought it was disabled; but I'm not so sure anymore.
Regards, Carl-Daniel