pci.h (181e4246b4666bc3af148c1dacb330c9be2acf76) | pci.h (56ade8fe3fe1e134783f61d164305107ae01030f) |
---|---|
1/* 2 * drivers/net/ethernet/mellanox/mlxsw/pci.h 3 * Copyright (c) 2015 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2015 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 * --- 26 unchanged lines hidden (view full) --- 35#ifndef _MLXSW_PCI_H 36#define _MLXSW_PCI_H 37 38#include <linux/bitops.h> 39 40#include "item.h" 41 42#define PCI_DEVICE_ID_MELLANOX_SWITCHX2 0xc738 | 1/* 2 * drivers/net/ethernet/mellanox/mlxsw/pci.h 3 * Copyright (c) 2015 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2015 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 * --- 26 unchanged lines hidden (view full) --- 35#ifndef _MLXSW_PCI_H 36#define _MLXSW_PCI_H 37 38#include <linux/bitops.h> 39 40#include "item.h" 41 42#define PCI_DEVICE_ID_MELLANOX_SWITCHX2 0xc738 |
43#define PCI_DEVICE_ID_MELLANOX_SPECTRUM 0xcb84 |
|
43#define MLXSW_PCI_BAR0_SIZE (1024 * 1024) /* 1MB */ 44#define MLXSW_PCI_PAGE_SIZE 4096 45 46#define MLXSW_PCI_CIR_BASE 0x71000 47#define MLXSW_PCI_CIR_IN_PARAM_HI MLXSW_PCI_CIR_BASE 48#define MLXSW_PCI_CIR_IN_PARAM_LO (MLXSW_PCI_CIR_BASE + 0x04) 49#define MLXSW_PCI_CIR_IN_MODIFIER (MLXSW_PCI_CIR_BASE + 0x08) 50#define MLXSW_PCI_CIR_OUT_PARAM_HI (MLXSW_PCI_CIR_BASE + 0x0C) --- 175 unchanged lines hidden --- | 44#define MLXSW_PCI_BAR0_SIZE (1024 * 1024) /* 1MB */ 45#define MLXSW_PCI_PAGE_SIZE 4096 46 47#define MLXSW_PCI_CIR_BASE 0x71000 48#define MLXSW_PCI_CIR_IN_PARAM_HI MLXSW_PCI_CIR_BASE 49#define MLXSW_PCI_CIR_IN_PARAM_LO (MLXSW_PCI_CIR_BASE + 0x04) 50#define MLXSW_PCI_CIR_IN_MODIFIER (MLXSW_PCI_CIR_BASE + 0x08) 51#define MLXSW_PCI_CIR_OUT_PARAM_HI (MLXSW_PCI_CIR_BASE + 0x0C) --- 175 unchanged lines hidden --- |