Skip to content

Commit 29b261f

Browse files
Thomas Bogendoerferpaulburton
authored andcommitted
MIPS: PCI: Fix fake subdevice ID for IOC3
Generation of fake subdevice ID had vendor and device ID swapped. Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Paul Burton <[email protected]> Cc: James Hogan <[email protected]> Cc: Lee Jones <[email protected]> Cc: David S. Miller <[email protected]> Cc: Srinivas Kandagatla <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
1 parent b02efeb commit 29b261f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/pci/pci-xtalk-bridge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ static int bridge_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
452452
return irq;
453453
}
454454

455-
#define IOC3_SID(sid) (PCI_VENDOR_ID_SGI << 16 | (sid))
455+
#define IOC3_SID(sid) (PCI_VENDOR_ID_SGI | ((sid) << 16))
456456

457457
static void bridge_setup_ip27_baseio6g(struct bridge_controller *bc)
458458
{

0 commit comments

Comments
 (0)