The patch titled Subject: powerpc/fsl_rio: apply changes for RIO spec rev 3 has been added to the -mm tree. Its filename is powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alexandre Bounine <alexandre.bounine@xxxxxxx> Subject: powerpc/fsl_rio: apply changes for RIO spec rev 3 - Remove check for parallel PHY - Set LP-Serial Register Map type Link: http://lkml.kernel.org/r/1469125134-16523-13-git-send-email-alexandre.bounine@xxxxxxx Signed-off-by: Alexandre Bounine <alexandre.bounine@xxxxxxx> Cc: Matt Porter <mporter@xxxxxxxxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Cc: Andre van Herk <andre.van.herk@xxxxxxxxxxxxxxxxxxxxxxxxx> Cc: Barry Wood <barry.wood@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/sysdev/fsl_rio.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff -puN arch/powerpc/sysdev/fsl_rio.c~powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3 arch/powerpc/sysdev/fsl_rio.c --- a/arch/powerpc/sysdev/fsl_rio.c~powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3 +++ a/arch/powerpc/sysdev/fsl_rio.c @@ -643,19 +643,11 @@ int fsl_rio_setup(struct platform_device port->ops = ops; port->priv = priv; port->phys_efptr = 0x100; + port->phys_rmap = 1; priv->regs_win = rio_regs_win; - /* Probe the master port phy type */ ccsr = in_be32(priv->regs_win + RIO_CCSR + i*0x20); - port->phy_type = (ccsr & 1) ? RIO_PHY_SERIAL : RIO_PHY_PARALLEL; - if (port->phy_type == RIO_PHY_PARALLEL) { - dev_err(&dev->dev, "RIO: Parallel PHY type, unsupported port type!\n"); - release_resource(&port->iores); - kfree(priv); - kfree(port); - continue; - } - dev_info(&dev->dev, "RapidIO PHY type: Serial\n"); + /* Checking the port training status */ if (in_be32((priv->regs_win + RIO_ESCSR + i*0x20)) & 1) { dev_err(&dev->dev, "Port %d is not ready. " _ Patches currently in -mm which might be from alexandre.bounine@xxxxxxx are rapidio-add-rapidio-channelized-messaging-driver.patch rapidio-documentation-fix-mangled-paragraph-in-mport_cdev.patch rapidio-fix-return-value-description-for-dma_prep-functions.patch rapidio-tsi721_dma-add-channel-mask-and-queue-size-parameters.patch rapidio-tsi721-add-pcie-mrrs-override-parameter.patch rapidio-tsi721-add-messaging-mbox-selector-parameter.patch rapidio-tsi721_dma-advance-queue-processing-from-transfer-submit-call.patch rapidio-fix-error-handling-in-mbox-request-release-functions.patch rapidio-idt_gen2-fix-locking-warning.patch rapidio-change-inbound-window-size-type-to-u64.patch rapidio-modify-for-rev3-specification-changes.patch powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3.patch rapidio-switches-add-driver-for-idt-gen3-switches.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html