]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/drivers/net/e1000/base/e1000_osdep.c
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / drivers / net / e1000 / base / e1000_osdep.c
CommitLineData
f67539c2
TL
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2001 - 2015 Intel Corporation
3 */
7c673cae
FG
4/*$FreeBSD$*/
5
6#include "e1000_api.h"
7
8/*
9 * NOTE: the following routines using the e1000
10 * naming style are provided to the shared
11 * code but are OS specific
12 */
13
14void
15e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
16{
17 return;
18}
19
20void
21e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
22{
23 *value = 0;
24 return;
25}
26
27void
28e1000_pci_set_mwi(struct e1000_hw *hw)
29{
30}
31
32void
33e1000_pci_clear_mwi(struct e1000_hw *hw)
34{
35}
36
37
38/*
39 * Read the PCI Express capabilities
40 */
41int32_t
42e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
43{
44 return E1000_NOT_IMPLEMENTED;
45}
46
47/*
48 * Write the PCI Express capabilities
49 */
50int32_t
51e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
52{
53 return E1000_NOT_IMPLEMENTED;
54}