pci.h (3eb66e91a25497065c5322b1268cbc3953642227) pci.h (da382875c616856b234790206fc80d51f66b3bc7)
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2/* Copyright (c) 2016-2018 Mellanox Technologies. All rights reserved */
3
4#ifndef _MLXSW_PCI_H
5#define _MLXSW_PCI_H
6
7#include <linux/pci.h>
8
9#define PCI_DEVICE_ID_MELLANOX_SWITCHX2 0xc738
10#define PCI_DEVICE_ID_MELLANOX_SPECTRUM 0xcb84
11#define PCI_DEVICE_ID_MELLANOX_SPECTRUM2 0xcf6c
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2/* Copyright (c) 2016-2018 Mellanox Technologies. All rights reserved */
3
4#ifndef _MLXSW_PCI_H
5#define _MLXSW_PCI_H
6
7#include <linux/pci.h>
8
9#define PCI_DEVICE_ID_MELLANOX_SWITCHX2 0xc738
10#define PCI_DEVICE_ID_MELLANOX_SPECTRUM 0xcb84
11#define PCI_DEVICE_ID_MELLANOX_SPECTRUM2 0xcf6c
12#define PCI_DEVICE_ID_MELLANOX_SPECTRUM3 0xcf70
12#define PCI_DEVICE_ID_MELLANOX_SWITCHIB 0xcb20
13#define PCI_DEVICE_ID_MELLANOX_SWITCHIB2 0xcf08
14
15#if IS_ENABLED(CONFIG_MLXSW_PCI)
16
17int mlxsw_pci_driver_register(struct pci_driver *pci_driver);
18void mlxsw_pci_driver_unregister(struct pci_driver *pci_driver);
19

--- 16 unchanged lines hidden ---
13#define PCI_DEVICE_ID_MELLANOX_SWITCHIB 0xcb20
14#define PCI_DEVICE_ID_MELLANOX_SWITCHIB2 0xcf08
15
16#if IS_ENABLED(CONFIG_MLXSW_PCI)
17
18int mlxsw_pci_driver_register(struct pci_driver *pci_driver);
19void mlxsw_pci_driver_unregister(struct pci_driver *pci_driver);
20

--- 16 unchanged lines hidden ---