diff options
| -rw-r--r-- | drivers/pci/host/pcie-designware.c | 5 | ||||
| -rw-r--r-- | drivers/pci/host/pcie-designware.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 1f6bd6d42874..e99f56ecd61d 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c | |||
| @@ -26,6 +26,11 @@ | |||
| 26 | 26 | ||
| 27 | #include "pcie-designware.h" | 27 | #include "pcie-designware.h" |
| 28 | 28 | ||
| 29 | /* Parameters for the waiting for link up routine */ | ||
| 30 | #define LINK_WAIT_MAX_RETRIES 10 | ||
| 31 | #define LINK_WAIT_USLEEP_MIN 90000 | ||
| 32 | #define LINK_WAIT_USLEEP_MAX 100000 | ||
| 33 | |||
| 29 | /* Synopsis specific PCIE configuration registers */ | 34 | /* Synopsis specific PCIE configuration registers */ |
| 30 | #define PCIE_PORT_LINK_CONTROL 0x710 | 35 | #define PCIE_PORT_LINK_CONTROL 0x710 |
| 31 | #define PORT_LINK_MODE_MASK (0x3f << 16) | 36 | #define PORT_LINK_MODE_MASK (0x3f << 16) |
diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h index 74a8fc6abdba..285e1edc505b 100644 --- a/drivers/pci/host/pcie-designware.h +++ b/drivers/pci/host/pcie-designware.h | |||
| @@ -22,11 +22,6 @@ | |||
| 22 | #define MAX_MSI_IRQS 32 | 22 | #define MAX_MSI_IRQS 32 |
| 23 | #define MAX_MSI_CTRLS (MAX_MSI_IRQS / 32) | 23 | #define MAX_MSI_CTRLS (MAX_MSI_IRQS / 32) |
| 24 | 24 | ||
| 25 | /* Parameters for the waiting for link up routine */ | ||
| 26 | #define LINK_WAIT_MAX_RETRIES 10 | ||
| 27 | #define LINK_WAIT_USLEEP_MIN 90000 | ||
| 28 | #define LINK_WAIT_USLEEP_MAX 100000 | ||
| 29 | |||
| 30 | struct pcie_port { | 25 | struct pcie_port { |
| 31 | struct device *dev; | 26 | struct device *dev; |
| 32 | u8 root_bus_nr; | 27 | u8 root_bus_nr; |
