From 9f6514c1c5b55ab90f3ad1f3fc18b9daa5bd9c8c Mon Sep 17 00:00:00 2001 From: Gerhard Pircher Date: Mon, 2 Feb 2009 20:12:22 +0100 Subject: ide: Force VIA IDE legacy interrupts for AmigaOne boards The AmigaOne uses the onboard VIA IDE controller in legacy mode (like the Pegasos). Signed-off-by: Gerhard Pircher Cc: "Grant Likely" Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ide/via82cxxx.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/ide/via82cxxx.c') diff --git a/drivers/ide/via82cxxx.c b/drivers/ide/via82cxxx.c index 703c3eeb20a8..6092fe3f409d 100644 --- a/drivers/ide/via82cxxx.c +++ b/drivers/ide/via82cxxx.c @@ -448,6 +448,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); -- cgit v1.2.3