Changeset 07e5a0e in rtems


Ignore:
Timestamp:
Apr 7, 2015, 2:19:39 PM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
39937b6c
Parents:
4ab9296
git-author:
Daniel Hellstrom <daniel@…> (04/07/15 14:19:39)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:27)
Message:

LIBPCI: clean-up pci_for_each_child() search arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libpci/pci/cfg.h

    r4ab9296 r07e5a0e  
    7070extern struct pci_bus pci_hb;
    7171
     72/* Arguments for pci_for_each_child() search option */
     73#define SEARCH_CHILDREN 0       /* direct children of bus only  */
     74#define SEARCH_DEPTH 1          /* all children of bus */
     75
    7276/* Iterate over all PCI devices on a bus (see search options) and call func(),
    7377 * iteration is stopped if a non-zero value is returned by func().
     
    8387 *  X  func() returned non-zero X value, the search was stopped
    8488 */
    85 #define SEARCH_DEPTH 1
    8689extern int pci_for_each_child(
    8790        struct pci_bus *bus,
Note: See TracChangeset for help on using the changeset viewer.