seabios: pci: introduce foreachpci_in_bus() helper macro.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 22 Jun 2010 08:57:46 +0000 (17:57 +0900)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 4 Jul 2010 12:51:39 +0000 (08:51 -0400)
commitedd99116920fa870191d2e99877ec527a0c6bb14
treeb674a935b277fbdea3da662ebe2e559a99f15fb3
parentf79a462e521b622694c5e2e474008a43de690d7d
seabios: pci: introduce foreachpci_in_bus() helper macro.

This patch introduces foreachpci_in_bus() helper macro for
depth first recursion. foreachpci() is for width first recursion.
The macro will be used later to initialize pci bridge
that requires depth first recursion.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
src/pci.h