77169b1b7098b0aa46c98bda29fa93e1846ffbc3
[dpdk.git] / drivers / raw / cnxk_bphy / cnxk_bphy_irq.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2021 Marvell.
3  */
4
5 #ifndef _CNXK_BPHY_IRQ_
6 #define _CNXK_BPHY_IRQ_
7
8 #include <rte_bus_pci.h>
9 #include <rte_dev.h>
10
11 #include <roc_api.h>
12
13 struct bphy_mem {
14         struct rte_mem_resource res0;
15         struct rte_mem_resource res2;
16 };
17
18 struct bphy_device {
19         struct roc_bphy_irq_chip *irq_chip;
20         struct bphy_mem mem;
21 };
22
23 #endif /* _CNXK_BPHY_IRQ_ */