David Woodhouse | 8cdf92a | 2007-01-01 19:31:15 +0000 | [diff] [blame] | 1 | #ifndef __ASM_POWERPC_LIBATA_PORTMAP_H |
2 | #define __ASM_POWERPC_LIBATA_PORTMAP_H | ||||
3 | |||||
David Woodhouse | 8cdf92a | 2007-01-01 19:31:15 +0000 | [diff] [blame] | 4 | #define ATA_PRIMARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 0) |
5 | |||||
David Woodhouse | 8cdf92a | 2007-01-01 19:31:15 +0000 | [diff] [blame] | 6 | #define ATA_SECONDARY_IRQ(dev) pci_get_legacy_ide_irq(dev, 1) |
7 | |||||
8 | #endif |