pci.c (685B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 * 7 * pci: PCI abstraction common to all platforms. 8 */ 9 #include <sal/appl/pci.h> 10 11 /* 12 * This function will be used only if the application does not provide 13 * its own version (see e.g. systems/linux/user/common/socdiag.c). 14 * 15 * It is required by the PCI utility functions in pci_common.c, but 16 * for UNIX/Linux builds, these functions are only used by a 17 * deprecated CLI command and not by the core SDK. 18 */ 19 uint32 pci_config_getw(pci_dev_t *dev, uint32 addr) 20 { 21 return 0; 22 }