projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348753d
)
pci: sh: Add pci_skip_dev and pci_print_dev function
author
Nobuhiro Iwamatsu
<iwamatsu.nobuhiro@renesas.com>
Fri, 11 Jul 2008 08:22:43 +0000
(17:22 +0900)
committer
Nobuhiro Iwamatsu
<iwamatsu@nigauri.org>
Tue, 15 Jul 2008 03:24:37 +0000
(12:24 +0900)
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>
drivers/pci/pci_sh4.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci_sh4.c
b/drivers/pci/pci_sh4.c
index 1290c0a799eefbd680316562c1c83870d09d85c0..057b6ddc99ffcccfcbab224a1c0e36819e84562e 100644
(file)
--- 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 */