On Saturday 20 September 2008 05:49:05 pm Frans Pop wrote:
Thanks for testing this.
We're looking at some other issues in the same area, or at least,
where the fix might be in the same area:
http://bugzilla.kernel.org/show_bug.cgi?id=10231http://bugzilla.kernel.org/show_bug.cgi?id=9904
I am still not 100% comfortable with this because I think we really
want to know whether the BAR value is zero, not whether the CPU
address is zero, and pci_resource_start() gives us the CPU address.
Bus and CPU addresses are currently identical on x86, but I expect
that will change someday. They're already different on ia64 and
some other architectures.
Bottom line, I think we should tweak the patch to check the BAR
address before we put it in.
Bjorn
--