Skip to content

Commit

Permalink
ide: Force VIA IDE legacy interrupts for AmigaOne boards
Browse files Browse the repository at this point in the history
The AmigaOne uses the onboard VIA IDE controller in legacy mode (like the
Pegasos).

Signed-off-by: Gerhard Pircher <gerhard_pircher@gmx.net>
Cc: "Grant Likely" <grant.likely@secretlab.ca>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Gerhard Pircher authored and Bartlomiej Zolnierkiewicz committed Feb 2, 2009
1 parent 51d6ac7 commit 9f6514c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/ide/via82cxxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9f6514c

Please sign in to comment.