summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/ti/pci7420/cardbus.c18
-rw-r--r--src/southbridge/ti/pci7420/firewire.c9
2 files changed, 0 insertions, 27 deletions
diff --git a/src/southbridge/ti/pci7420/cardbus.c b/src/southbridge/ti/pci7420/cardbus.c
index 02c4a01c0e..6ef08a3067 100644
--- a/src/southbridge/ti/pci7420/cardbus.c
+++ b/src/southbridge/ti/pci7420/cardbus.c
@@ -8,10 +8,6 @@
#include "pci7420.h"
#include "chip.h"
-#ifdef ODD_IRQ_FIXUP
-static int cardbus_count = 0;
-#endif
-
static void pci7420_cardbus_init(struct device *dev)
{
u8 reg8;
@@ -47,20 +43,6 @@ static void pci7420_cardbus_init(struct device *dev)
/* Multifunction routing status */
pci_write_config32(dev, MFUNC, 0x018a1b22);
-
-#ifdef ODD_IRQ_FIXUP
- /* This is a workaround for buggy kernels. This should
- * probably be read from the device tree, but as long
- * as only one mainboard is using this bridge it does
- * not matter.
- *
- * Basically what we do here is assign INTA to the first
- * cardbus controller, and INTB to the second one. We know
- * there are only two of them.
- */
- pci_write_config8(dev, PCI_INTERRUPT_PIN, cardbus_count);
- cardbus_count++;
-#endif
}
static void pci7420_cardbus_read_resources(struct device *dev)
diff --git a/src/southbridge/ti/pci7420/firewire.c b/src/southbridge/ti/pci7420/firewire.c
index ef06ea6a3b..a327745168 100644
--- a/src/southbridge/ti/pci7420/firewire.c
+++ b/src/southbridge/ti/pci7420/firewire.c
@@ -11,15 +11,6 @@
static void pci7420_firewire_init(struct device *dev)
{
printk(BIOS_DEBUG, "TI PCI7420/7620 FireWire init\n");
-
-#ifdef ODD_IRQ_FIXUP
- /* This is a workaround for buggy kernels. This should
- * probably be read from the device tree, but as long
- * as only one mainboard is using this bridge it does
- * not matter
- */
- pci_write_config8(dev, PCI_INTERRUPT_PIN, INTC);
-#endif
}
static struct device_operations ti_pci7420_firewire_ops = {