source: rtems/cpukit/libpci/pci_for_each_dev.c @ 1f66914

4.11
Last change on this file since 1f66914 was 71e8a5c, checked in by Daniel Hellstrom <daniel@…>, on Feb 27, 2015 at 3:45:59 PM

LIBPCI: moved copyright into a single line

  • 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.com/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.