/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _IAVF_OSDEP_H_ #define _IAVF_OSDEP_H_ #include <linux/types.h> #include <linux/if_ether.h> #include <linux/if_vlan.h> #include <linux/tcp.h> #include <linux/pci.h> /* get readq/writeq support for 32 bit kernels, use the low-first version */ #include <linux/io-64-nonatomic-lo-hi.h> #define wr32(a, reg, value) … #define rd32(a, reg) … #define wr64(a, reg, value) … #define rd64(a, reg) … #define iavf_flush(a) … /* memory allocation tracking */ struct iavf_dma_mem { … }; #define iavf_allocate_dma_mem(h, m, unused, s, a) … struct iavf_virt_mem { … }; #define iavf_debug(h, m, s, ...) … #endif /* _IAVF_OSDEP_H_ */