Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS

Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS.

Suggested-by: Bjorn Helgaas <helgaas@kernel.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250625102347.1205584-10-cassel@kernel.org

authored by

Niklas Cassel and committed by
Manivannan Sadhasivam
817f9897 19272b37

+2 -2
+1 -1
drivers/pci/controller/plda/pcie-starfive.c
··· 368 368 * of 100ms following exit from a conventional reset before 369 369 * sending a configuration request to the device. 370 370 */ 371 - msleep(PCIE_RESET_CONFIG_DEVICE_WAIT_MS); 371 + msleep(PCIE_RESET_CONFIG_WAIT_MS); 372 372 373 373 if (starfive_pcie_host_wait_for_link(pcie)) 374 374 dev_info(dev, "port link down\n");
+1 -1
drivers/pci/pci.h
··· 61 61 * completes before sending a Configuration Request to the device 62 62 * immediately below that Port." 63 63 */ 64 - #define PCIE_RESET_CONFIG_DEVICE_WAIT_MS 100 64 + #define PCIE_RESET_CONFIG_WAIT_MS 100 65 65 66 66 /* Message Routing (r[2:0]); PCIe r6.0, sec 2.2.8 */ 67 67 #define PCIE_MSG_TYPE_R_RC 0