pci.h (5d8dfaa71d87f742c53309b95cb6a8b274119027) | pci.h (4735402173e6eed18d7e04cfc4bc358d8b2965db) |
---|---|
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_SPECTRUM 0xcb84 10#define PCI_DEVICE_ID_MELLANOX_SPECTRUM2 0xcf6c 11#define PCI_DEVICE_ID_MELLANOX_SPECTRUM3 0xcf70 | 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_SPECTRUM 0xcb84 10#define PCI_DEVICE_ID_MELLANOX_SPECTRUM2 0xcf6c 11#define PCI_DEVICE_ID_MELLANOX_SPECTRUM3 0xcf70 |
12#define PCI_DEVICE_ID_MELLANOX_SPECTRUM4 0xcf80 |
|
12 13#if IS_ENABLED(CONFIG_MLXSW_PCI) 14 15int mlxsw_pci_driver_register(struct pci_driver *pci_driver); 16void mlxsw_pci_driver_unregister(struct pci_driver *pci_driver); 17 18#else 19 --- 14 unchanged lines hidden --- | 13 14#if IS_ENABLED(CONFIG_MLXSW_PCI) 15 16int mlxsw_pci_driver_register(struct pci_driver *pci_driver); 17void mlxsw_pci_driver_unregister(struct pci_driver *pci_driver); 18 19#else 20 --- 14 unchanged lines hidden --- |