162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_POWERPC_LIBATA_PORTMAP_H
362306a36Sopenharmony_ci#define __ASM_POWERPC_LIBATA_PORTMAP_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#define ATA_PRIMARY_IRQ(dev)	pci_get_legacy_ide_irq(dev, 0)
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#define ATA_SECONDARY_IRQ(dev)	pci_get_legacy_ide_irq(dev, 1)
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#endif
10