blob: c2b3934fdc41dc68e079e4eb4e8811ae5deec636 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* PCI Help function, iterate all PCI devices.
*
* COPYRIGHT (c) 2010.
* Cobham Gaisler AB.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*/
#include <pci/cfg.h>
int pci_for_each_dev(
int (*func)(struct pci_dev *, void *arg),
void *arg)
{
return pci_for_each_child(&pci_hb, func, arg, SEARCH_DEPTH);
}
|