numam-dpdk/drivers/net/igc/base/igc_osdep.c
Xiaoyun Li aee2733fe3 net/igc/base: update copyright
Clarify Intel copyright and update the date to 2020.

Fixes: 8cb7c57d9b ("net/igc: support device initialization")
Cc: stable@dpdk.org

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-05-18 20:35:57 +02:00

65 lines
931 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2019-2020 Intel Corporation
*/
#include "igc_api.h"
/*
* NOTE: the following routines using the igc
* naming style are provided to the shared
* code but are OS specific
*/
void
igc_write_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value)
{
(void)hw;
(void)reg;
(void)value;
}
void
igc_read_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value)
{
(void)hw;
(void)reg;
*value = 0;
}
void
igc_pci_set_mwi(struct igc_hw *hw)
{
(void)hw;
}
void
igc_pci_clear_mwi(struct igc_hw *hw)
{
(void)hw;
}
/*
* Read the PCI Express capabilities
*/
int32_t
igc_read_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value)
{
(void)hw;
(void)reg;
(void)value;
return IGC_NOT_IMPLEMENTED;
}
/*
* Write the PCI Express capabilities
*/
int32_t
igc_write_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value)
{
(void)hw;
(void)reg;
(void)value;
return IGC_NOT_IMPLEMENTED;
}