pci.h (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) | pci.h (c3ab435466d5109b2c7525a3b90107d4d9e918fc) |
---|---|
1/* 2 * drivers/net/ethernet/mellanox/mlxsw/pci.h 3 * Copyright (c) 2016 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2016 Jiri Pirko <jiri@mellanox.com> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are met: 8 * --- 25 unchanged lines hidden (view full) --- 34 35#ifndef _MLXSW_PCI_H 36#define _MLXSW_PCI_H 37 38#include <linux/pci.h> 39 40#define PCI_DEVICE_ID_MELLANOX_SWITCHX2 0xc738 41#define PCI_DEVICE_ID_MELLANOX_SPECTRUM 0xcb84 | 1/* 2 * drivers/net/ethernet/mellanox/mlxsw/pci.h 3 * Copyright (c) 2016 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2016 Jiri Pirko <jiri@mellanox.com> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are met: 8 * --- 25 unchanged lines hidden (view full) --- 34 35#ifndef _MLXSW_PCI_H 36#define _MLXSW_PCI_H 37 38#include <linux/pci.h> 39 40#define PCI_DEVICE_ID_MELLANOX_SWITCHX2 0xc738 41#define PCI_DEVICE_ID_MELLANOX_SPECTRUM 0xcb84 |
42#define PCI_DEVICE_ID_MELLANOX_SPECTRUM2 0xcf6c |
|
42#define PCI_DEVICE_ID_MELLANOX_SWITCHIB 0xcb20 43#define PCI_DEVICE_ID_MELLANOX_SWITCHIB2 0xcf08 44 45#if IS_ENABLED(CONFIG_MLXSW_PCI) 46 47int mlxsw_pci_driver_register(struct pci_driver *pci_driver); 48void mlxsw_pci_driver_unregister(struct pci_driver *pci_driver); 49 --- 16 unchanged lines hidden --- | 43#define PCI_DEVICE_ID_MELLANOX_SWITCHIB 0xcb20 44#define PCI_DEVICE_ID_MELLANOX_SWITCHIB2 0xcf08 45 46#if IS_ENABLED(CONFIG_MLXSW_PCI) 47 48int mlxsw_pci_driver_register(struct pci_driver *pci_driver); 49void mlxsw_pci_driver_unregister(struct pci_driver *pci_driver); 50 --- 16 unchanged lines hidden --- |