Re: [PATCH 0/2] PCI-X/PCI-Express read control interfaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Vasquez
Date: Tuesday, May 15, 2007 - 2:35 pm

On Tue, 15 May 2007, Andrew Morton wrote:


This is definetly good cleanup, and I ACK the QLogic changes.

I do though have some questions on call prerequisites given the
driver-changes, most in the form of:

...


In general, if PCI-[Xe] capability structure exists do set-
mmrbc()/readrq(), yet each of those pre-condition checks are already
present in the pcix_set_mmrbc() and pcie_set_readrq().

At least for the qla2xxx case, the patch could easily distill down from:

	...
	/* PCIe -- adjust Maximum Read Request Size (2048). */
	pcie_dctl_reg = pci_find_capability(ha->pdev, PCI_CAP_ID_EXP);
	if (pcie_dctl_reg)
		if (pcie_set_readrq(ha->pdev, 2048))
			DEBUG2(printk("Couldn't write PCI Express read request\n"));

to:

	...
	pcie_set_readrq(ha->pdev, 2048);


Whatever the decision, I can fold this into my next patchset for
qla2xxx and submit.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] PCI-X/PCI-Express read control interfaces, Peter Oruba, (Tue May 15, 4:50 am)
[PATCH 1/2] PCI-X/PCI-Express read control interfaces, Peter Oruba, (Tue May 15, 4:59 am)
[PATCH 2/2] PCI-X/PCI-Express read control interfaces, Peter Oruba, (Tue May 15, 5:03 am)
Re: [PATCH 0/2] PCI-X/PCI-Express read control interfaces, Andrew Morton, (Tue May 15, 12:37 pm)
Re: [PATCH 0/2] PCI-X/PCI-Express read control interfaces, Andrew Vasquez, (Tue May 15, 2:35 pm)
Re: [PATCH 1/2] PCI-X/PCI-Express read control interfaces, Randy Dunlap, (Wed May 16, 10:10 am)