···176176177177/**178178 * fsl_rio_doorbell_send - Send a MPC85xx doorbell message179179+ * @mport: RapidIO master port info179180 * @index: ID of RapidIO interface180181 * @destid: Destination ID of target device181182 * @data: 16-bit info field of RapidIO doorbell message···212211213212/**214213 * fsl_local_config_read - Generate a MPC85xx local config space read214214+ * @mport: RapidIO master port info215215 * @index: ID of RapdiIO interface216216 * @offset: Offset into configuration space217217 * @len: Length (in bytes) of the maintenance transaction···234232235233/**236234 * fsl_local_config_write - Generate a MPC85xx local config space write235235+ * @mport: RapidIO master port info237236 * @index: ID of RapdiIO interface238237 * @offset: Offset into configuration space239238 * @len: Length (in bytes) of the maintenance transaction···257254258255/**259256 * fsl_rio_config_read - Generate a MPC85xx read maintenance transaction257257+ * @mport: RapidIO master port info260258 * @index: ID of RapdiIO interface261259 * @destid: Destination ID of transaction262260 * @hopcount: Number of hops to target device···299295300296/**301297 * fsl_rio_config_write - Generate a MPC85xx write maintenance transaction298298+ * @mport: RapidIO master port info302299 * @index: ID of RapdiIO interface303300 * @destid: Destination ID of transaction304301 * @hopcount: Number of hops to target device···990985}991986992987/**993993- * fsl_rio_setup - Setup MPC85xx RapidIO interface994994- * @fsl_rio_setup - Setup Freescale PowerPC RapidIO interface988988+ * fsl_rio_setup - Setup Freescale PowerPC RapidIO interface989989+ * @dev: of_device pointer995990 *996991 * Initializes MPC85xx RapidIO hardware interface, configures997992 * master port with system-specific info, and registers the
···107107 }108108 regs = ioremap(res.start, 32);109109110110- printk(KERN_INFO "Xilinx intc at 0x%08X mapped to 0x%p\n",110110+ printk(KERN_INFO "Xilinx intc at 0x%08LX mapped to 0x%p\n",111111 res.start, regs);112112113113 /* Setup interrupt controller */
+3-3
drivers/char/xilinx_hwicap/xilinx_hwicap.c
···623623624624 if (!request_mem_region(drvdata->mem_start,625625 drvdata->mem_size, DRIVER_NAME)) {626626- dev_err(dev, "Couldn't lock memory region at %p\n",627627- (void *)regs_res->start);626626+ dev_err(dev, "Couldn't lock memory region at %Lx\n",627627+ regs_res->start);628628 retval = -EBUSY;629629 goto failed1;630630 }···643643 mutex_init(&drvdata->sem);644644 drvdata->is_open = 0;645645646646- dev_info(dev, "ioremap %lx to %p with size %x\n",646646+ dev_info(dev, "ioremap %lx to %p with size %Lx\n",647647 (unsigned long int)drvdata->mem_start,648648 drvdata->base_address, drvdata->mem_size);649649
+2
include/linux/rio.h
···163163 * @ops: configuration space functions164164 * @id: Port ID, unique among all ports165165 * @index: Port index, unique among all port interfaces of the same type166166+ * @sys_size: RapidIO common transport system size167167+ * @phy_type: RapidIO phy type166168 * @name: Port name string167169 * @priv: Master port private data168170 */