> > That is, whatever the arch code decides to use to decide whether > > resources are assigned by firmware or by the first pass assignment code > > or not and collide or not, once that phase is finished (which is the > > case when calling pcibios_enable_device(), having the resource in the > > resource-tree or not is, I believe, the proper way to test whether it's > > a useable resource. > > So should x86 adopt that collision check? I don't hear anything about > actual architecture differences that are behind this implementation > difference.
Well, on powerpc we do allow under some circumstances a 0 start value in BARs, which is why I wanted to use a different check. Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev