eef9b9b1ff69def5e963a7a481bfff9d06c0fb5a
[dpdk.git] / drivers / net / ngbe / ngbe_ethdev.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3  * Copyright(c) 2010-2017 Intel Corporation
4  */
5
6 #include <errno.h>
7 #include <rte_common.h>
8 #include <ethdev_pci.h>
9
10 static int
11 eth_ngbe_pci_probe(struct rte_pci_driver *pci_drv,
12                 struct rte_pci_device *pci_dev)
13 {
14         RTE_SET_USED(pci_drv);
15         RTE_SET_USED(pci_dev);
16         return -EINVAL;
17 }
18
19 static int eth_ngbe_pci_remove(struct rte_pci_device *pci_dev)
20 {
21         RTE_SET_USED(pci_dev);
22         return -EINVAL;
23 }
24
25 static struct rte_pci_driver rte_ngbe_pmd = {
26         .probe = eth_ngbe_pci_probe,
27         .remove = eth_ngbe_pci_remove,
28 };
29
30 RTE_PMD_REGISTER_PCI(net_ngbe, rte_ngbe_pmd);