core/pci: Make the conditions for device type quirk obvious
core/pci: Make the conditions for device type quirk obvious

The device type should be fixed to downstream port when it seats
behinds behind a upstream port, which is connected to root port
directly and its VDID is 0x874810b5.

This reorders the conditions to make it a bit obvious: parent,
parent's device type, device's VDID and device type in sequence.
No logicial changes.

Signed-off-by: Gavin Shan <0398910e4f4970259b451f0f9d0686cc5e961b81@linux.vnet.ibm.com>
Acked-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

qemu/skiboot,qemu/skiboot,qemu/skiboot,open-power/skiboot,qemu/skiboot,stewart-ibm/skiboot,mikey/skiboot,open-power/skiboot,shenki/skiboot,legoater/skiboot,legoater/skiboot,open-power/skiboot,mikey/skiboot,stewart-ibm/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,shenki/skiboot,shenki/skiboot,mikey/skiboot,legoater/skiboot,shenki/skiboot,stewart-ibm/skiboot,open-power/skiboot,legoater/skiboot