>Well, two values don't agree with each other and we know for a fact that >vendors sometimes get PI wrong, so we trust n_ports in such cases. We >can reverse the behavior but that's likely to cause more problems than >it fixes. I understand your concern, but I think you also understand mine. So I'm not really asking for general reversal of the logic, but to perhaps make it just a little smarter. The (not generally usable according to what you said earlier) experiment I made was to use the smaller of the two sets - if either set is empty this of course wouldn't be correct. But perhaps, if you have a non-empty port map, that should be preferred over nr_ports? Otherwise, chipset specific knowledge may need to be applied here (i.e. for ESB2, port map ought to always be used)... Jan - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html