source: rtems/cpukit/libpci/pci_for_each_dev.c @ 0e16fa45

5
Last change on this file since 0e16fa45 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
Line 
1/*  PCI Help function, iterate all PCI devices.
2 *
3 *  COPYRIGHT (c) 2010 Cobham Gaisler AB.
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
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.