]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pci: Move PCI device configuration check into a separate weak function
authorStefan Roese <sr@denx.de>
Tue, 8 Jul 2008 10:01:47 +0000 (12:01 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 10 Jul 2008 08:10:32 +0000 (10:10 +0200)
commitdc1da42f814cd71e6756c2cf62af1ada1d0581fb
tree40361a28b71256b3470c3a511a6cd791d5af42d0
parent4188f0491886b3b486164e819c0a83fdb97efd7d
pci: Move PCI device configuration check into a separate weak function

This patch moves the check, if a device should be skipped in PCI PNP
configuration into the function pci_skip_dev(). This function is defined
as weak so that it can be overwritten by a platform specific one if
needed. The check if the device should get printed in the PCI summary upon
bootup (when CONFIG_PCI_SCAN_SHOW is defined) is moved to the function
pci_print_dev() which is also defined as weak too.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/pci/pci.c