diff options
author | Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 2008-07-11 17:22:43 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2008-07-15 12:24:37 +0900 |
commit | d85f46a25ccb33ed9b295de3c2cfe1ce270ece9a (patch) | |
tree | 99e9a72c7c246f0b3ac0d49d9b19dc4cd11c436e | |
parent | 348753d416cd2c9e7ec6520a544c8f33cf02a560 (diff) | |
download | u-boot-imx-d85f46a25ccb33ed9b295de3c2cfe1ce270ece9a.zip u-boot-imx-d85f46a25ccb33ed9b295de3c2cfe1ce270ece9a.tar.gz u-boot-imx-d85f46a25ccb33ed9b295de3c2cfe1ce270ece9a.tar.bz2 |
pci: sh: Add pci_skip_dev and pci_print_dev function
Add function of new PCI, pci_skip_dev and pci_print_dev.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r-- | drivers/pci/pci_sh4.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c index 1290c0a..057b6dd 100644 --- a/drivers/pci/pci_sh4.c +++ b/drivers/pci/pci_sh4.c @@ -74,3 +74,15 @@ int pci_sh4_init(struct pci_controller *hose) hose->last_busno = pci_hose_scan(hose); return 0; } + +int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev) +{ + return 0; +} + +#ifdef CONFIG_PCI_SCAN_SHOW +int pci_print_dev(struct pci_controller *hose, pci_dev_t dev) +{ + return 1; +} +#endif /* CONFIG_PCI_SCAN_SHOW */ |