pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Fri, 7 Mar 2008 07:04:25 +0000 (16:04 +0900)
committerWolfgang Denk <wd@denx.de>
Sun, 23 Mar 2008 00:38:22 +0000 (01:38 +0100)
commit55774b512fdf63c0516d441cc5da7c54bbffb7f2
tree9c19cf9a7b5a47a2bc3f84a5ca93fb36642c7acb
parent86aea3eaefa248ffb9328e2b50c64720489cdbeb
pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option

In current source code, when the device number of PCI is 0, process PCI
bridge without fail. However, when the device number is 0, it is not PCI
always bridge. There are times when device of PCI allocates.

When CONFIG_PCI_SKIP_HOST_BRIDGE is enable, this problem is solved when
use this patch.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Stefan Roese <sr@denx.de>
drivers/pci/pci.c