]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/drivers/net/igc/base/igc_osdep.c
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / drivers / net / igc / base / igc_osdep.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019-2020 Intel Corporation
3 */
4
5 #include "igc_api.h"
6
7 /*
8 * NOTE: the following routines using the igc
9 * naming style are provided to the shared
10 * code but are OS specific
11 */
12
13 void
14 igc_write_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value)
15 {
16 (void)hw;
17 (void)reg;
18 (void)value;
19 }
20
21 void
22 igc_read_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value)
23 {
24 (void)hw;
25 (void)reg;
26 *value = 0;
27 }
28
29 void
30 igc_pci_set_mwi(struct igc_hw *hw)
31 {
32 (void)hw;
33 }
34
35 void
36 igc_pci_clear_mwi(struct igc_hw *hw)
37 {
38 (void)hw;
39 }
40
41 /*
42 * Read the PCI Express capabilities
43 */
44 int32_t
45 igc_read_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value)
46 {
47 (void)hw;
48 (void)reg;
49 (void)value;
50 return IGC_NOT_IMPLEMENTED;
51 }
52
53 /*
54 * Write the PCI Express capabilities
55 */
56 int32_t
57 igc_write_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value)
58 {
59 (void)hw;
60 (void)reg;
61 (void)value;
62
63 return IGC_NOT_IMPLEMENTED;
64 }