cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

enetc_ierb.h (414B)


      1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
      2/* Copyright 2021 NXP */
      3
      4#include <linux/pci.h>
      5#include <linux/platform_device.h>
      6
      7#if IS_ENABLED(CONFIG_FSL_ENETC_IERB)
      8
      9int enetc_ierb_register_pf(struct platform_device *pdev,
     10			   struct pci_dev *pf_pdev);
     11
     12#else
     13
     14static inline int enetc_ierb_register_pf(struct platform_device *pdev,
     15					 struct pci_dev *pf_pdev)
     16{
     17	return -EOPNOTSUPP;
     18}
     19
     20#endif