source: rtems/cpukit/libpci/pci_for_each_dev.c @ e53daed

4.115
Last change on this file since e53daed was e53daed, checked in by Daniel Hellstrom <daniel@…>, on 04/09/15 at 14:09:42

LIBPCI: updated license to rtems.org

  • Property mode set to 100644
File size: 425 bytes
RevLine 
[a31845f7]1/*  PCI Help function, iterate all PCI devices.
2 *
[71e8a5c]3 *  COPYRIGHT (c) 2010 Cobham Gaisler AB.
[a31845f7]4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
[e53daed]7 *  http://www.rtems.org/license/LICENSE.
[a31845f7]8 */
9
10#include <pci/cfg.h>
11
12int pci_for_each_dev(
13        int (*func)(struct pci_dev *, void *arg),
14        void *arg)
15{
16        return pci_for_each_child(&pci_hb, func, arg, SEARCH_DEPTH);
17}
Note: See TracBrowser for help on using the repository browser.