Skip to contentSkip to conversation

bcm1480 pci build fix

PATCH New Thiemo Seufer 1 participant 1 message Jul 22, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcm1480 pci build fix

The appended patch restores building the bcm1480 kernel. The brokenness noted there is apparently not immediately fatal, as the resulting kernel successfully drives a SATA RAID on PCI-X.

Presumably the sb1250 pcibios_map_irq is broken in the same way.

Thiemo

arch/mips/pci/pci-bcm1480.c +1 -1
index 2b4e30c..0193aad 100644
@@ -76,7 +76,7 @@ static inline void WRITECFG32(u32 addr, u32 data)
 
 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
-	This is b0rked.
+	/* XXX: This is b0rked. */
 	return dev->irq;
 }
 
arch/mips/pci/pci-sb1250.c +1 -0
index c1ac649..7af499e 100644
@@ -86,6 +86,7 @@ static inline void WRITECFG32(u32 addr, u32 data)
 
 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
+	/* XXX: This is b0rked. */
 	return dev->irq;
 }