When comparing device IDs, make sure that they have the same type
(like NAA assigned) and identify the same entity (like device or port).
Otherwise there can be false positives since at least some models of
Seagate disks use same IDs for the whole device and one of its ports.

MFC after:	2 weeks

(cherry picked from commit 11dca5fed3152fe28e3303f5c7d2a8a51cbc1208)