18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_POWERPC_LIBATA_PORTMAP_H
38c2ecf20Sopenharmony_ci#define __ASM_POWERPC_LIBATA_PORTMAP_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#define ATA_PRIMARY_IRQ(dev)	pci_get_legacy_ide_irq(dev, 0)
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define ATA_SECONDARY_IRQ(dev)	pci_get_legacy_ide_irq(dev, 1)
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#endif
10