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

4.115
Last change on this file since a31845f7 was a31845f7, checked in by Daniel Hellstrom <daniel@…>, on 11/28/11 at 09:11:10

LIBPCI: added PCI layer to cpukit/libpci

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