OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PCI: Apply _HPP settings to PCIe devices as well as PCI and PCI-X
[uclinux-h8/linux.git]
/
drivers
/
pci
/
probe.c
diff --git
a/drivers/pci/probe.c
b/drivers/pci/probe.c
index
4b3b29b
..
003d112
100644
(file)
--- a/
drivers/pci/probe.c
+++ b/
drivers/pci/probe.c
@@
-1249,15
+1249,8
@@
static void program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp)
{
u16 pci_cmd, pci_bctl;
{
u16 pci_cmd, pci_bctl;
- if (!hpp) {
- /*
- * Perhaps we *should* use default settings for PCIe, but
- * pciehp didn't, so we won't either.
- */
- if (pci_is_pcie(dev))
- return;
+ if (!hpp)
hpp = &pci_default_type0;
hpp = &pci_default_type0;
- }
if (hpp->revision > 1) {
dev_warn(&dev->dev,
if (hpp->revision > 1) {
dev_warn(&dev->dev,