dpdk/drivers/net/igc/base/igc_osdep.c
<<
>>
Prefs
   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
  13void
  14igc_write_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value)
  15{
  16        (void)hw;
  17        (void)reg;
  18        (void)value;
  19}
  20
  21void
  22igc_read_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value)
  23{
  24        (void)hw;
  25        (void)reg;
  26        *value = 0;
  27}
  28
  29void
  30igc_pci_set_mwi(struct igc_hw *hw)
  31{
  32        (void)hw;
  33}
  34
  35void
  36igc_pci_clear_mwi(struct igc_hw *hw)
  37{
  38        (void)hw;
  39}
  40
  41/*
  42 * Read the PCI Express capabilities
  43 */
  44int32_t
  45igc_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 */
  56int32_t
  57igc_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}
  65