Skip to contentSkip to conversation

ide: Force VIA IDE legacy interrupts for AmigaOne boards

PATCH New Gerhard Pircher 1 participant 1 message Jan 7, 2009 libata

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 ide: Force VIA IDE legacy interrupts for AmigaOne boards

The AmigaOne uses the onboard VIA IDE controller in legacy mode (like the Pegasos).

---
 drivers/ide/via82cxxx.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/ide/via82cxxx.c +5 -0
index 2a812d3..086f476 100644
@@ -450,6 +450,11 @@ static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_i
 		d.host_flags |= IDE_HFLAG_FORCE_LEGACY_IRQS;
 #endif
 
+#ifdef CONFIG_AMIGAONE
+	if (machine_is(amigaone))
+		d.host_flags |= IDE_HFLAG_FORCE_LEGACY_IRQS;
+#endif
+
 	d.udma_mask = via_config->udma_mask;
 
 	vdev = kzalloc(sizeof(*vdev), GFP_KERNEL);
Signature · 1 line
1.5.6.5