source: rtems/cpukit/libpci/pci_for_each_dev.c @ 4a7d1026

4.11
Last change on this file since 4a7d1026 was e53daed, checked in by Daniel Hellstrom <daniel@…>, on Apr 9, 2015 at 2:09:42 PM

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.