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

Merge branch 'powerpc-next' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc

+37 -9
+22 -1
arch/powerpc/boot/dts/mpc8610_hpcd.dts
··· 21 21 serial1 = &serial1; 22 22 pci0 = &pci0; 23 23 pci1 = &pci1; 24 + pci2 = &pci2; 24 25 }; 25 26 26 27 cpus { ··· 106 105 compatible = "ns16550"; 107 106 reg = <0x4600 0x100>; 108 107 clock-frequency = <0>; 109 - interrupts = <28 2>; 108 + interrupts = <42 2>; 110 109 interrupt-parent = <&mpic>; 111 110 }; 112 111 ··· 322 321 0x0 0x00100000>; 323 322 }; 324 323 }; 324 + }; 325 + 326 + pci2: pcie@e0009000 { 327 + #address-cells = <3>; 328 + #size-cells = <2>; 329 + #interrupt-cells = <1>; 330 + device_type = "pci"; 331 + compatible = "fsl,mpc8641-pcie"; 332 + reg = <0xe0009000 0x00001000>; 333 + ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000 334 + 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>; 335 + bus-range = <0 255>; 336 + interrupt-map-mask = <0xf800 0 0 7>; 337 + interrupt-map = <0x0000 0 0 1 &mpic 4 1 338 + 0x0000 0 0 2 &mpic 5 1 339 + 0x0000 0 0 3 &mpic 6 1 340 + 0x0000 0 0 4 &mpic 7 1>; 341 + interrupt-parent = <&mpic>; 342 + interrupts = <25 2>; 343 + clock-frequency = <33333333>; 325 344 }; 326 345 };
+7 -2
arch/powerpc/sysdev/fsl_rio.c
··· 176 176 177 177 /** 178 178 * fsl_rio_doorbell_send - Send a MPC85xx doorbell message 179 + * @mport: RapidIO master port info 179 180 * @index: ID of RapidIO interface 180 181 * @destid: Destination ID of target device 181 182 * @data: 16-bit info field of RapidIO doorbell message ··· 212 211 213 212 /** 214 213 * fsl_local_config_read - Generate a MPC85xx local config space read 214 + * @mport: RapidIO master port info 215 215 * @index: ID of RapdiIO interface 216 216 * @offset: Offset into configuration space 217 217 * @len: Length (in bytes) of the maintenance transaction ··· 234 232 235 233 /** 236 234 * fsl_local_config_write - Generate a MPC85xx local config space write 235 + * @mport: RapidIO master port info 237 236 * @index: ID of RapdiIO interface 238 237 * @offset: Offset into configuration space 239 238 * @len: Length (in bytes) of the maintenance transaction ··· 257 254 258 255 /** 259 256 * fsl_rio_config_read - Generate a MPC85xx read maintenance transaction 257 + * @mport: RapidIO master port info 260 258 * @index: ID of RapdiIO interface 261 259 * @destid: Destination ID of transaction 262 260 * @hopcount: Number of hops to target device ··· 299 295 300 296 /** 301 297 * fsl_rio_config_write - Generate a MPC85xx write maintenance transaction 298 + * @mport: RapidIO master port info 302 299 * @index: ID of RapdiIO interface 303 300 * @destid: Destination ID of transaction 304 301 * @hopcount: Number of hops to target device ··· 990 985 } 991 986 992 987 /** 993 - * fsl_rio_setup - Setup MPC85xx RapidIO interface 994 - * @fsl_rio_setup - Setup Freescale PowerPC RapidIO interface 988 + * fsl_rio_setup - Setup Freescale PowerPC RapidIO interface 989 + * @dev: of_device pointer 995 990 * 996 991 * Initializes MPC85xx RapidIO hardware interface, configures 997 992 * master port with system-specific info, and registers the
+2 -2
arch/powerpc/sysdev/fsl_soc.c
··· 389 389 } 390 390 391 391 gfar_data.phy_id = *id; 392 - snprintf(gfar_data.bus_id, MII_BUS_ID_SIZE, "%x", 393 - res.start); 392 + snprintf(gfar_data.bus_id, MII_BUS_ID_SIZE, "%llx", 393 + (unsigned long long)res.start); 394 394 395 395 of_node_put(phy); 396 396 of_node_put(mdio);
+1 -1
arch/powerpc/sysdev/xilinx_intc.c
··· 107 107 } 108 108 regs = ioremap(res.start, 32); 109 109 110 - printk(KERN_INFO "Xilinx intc at 0x%08X mapped to 0x%p\n", 110 + printk(KERN_INFO "Xilinx intc at 0x%08LX mapped to 0x%p\n", 111 111 res.start, regs); 112 112 113 113 /* Setup interrupt controller */
+3 -3
drivers/char/xilinx_hwicap/xilinx_hwicap.c
··· 623 623 624 624 if (!request_mem_region(drvdata->mem_start, 625 625 drvdata->mem_size, DRIVER_NAME)) { 626 - dev_err(dev, "Couldn't lock memory region at %p\n", 627 - (void *)regs_res->start); 626 + dev_err(dev, "Couldn't lock memory region at %Lx\n", 627 + regs_res->start); 628 628 retval = -EBUSY; 629 629 goto failed1; 630 630 } ··· 643 643 mutex_init(&drvdata->sem); 644 644 drvdata->is_open = 0; 645 645 646 - dev_info(dev, "ioremap %lx to %p with size %x\n", 646 + dev_info(dev, "ioremap %lx to %p with size %Lx\n", 647 647 (unsigned long int)drvdata->mem_start, 648 648 drvdata->base_address, drvdata->mem_size); 649 649
+2
include/linux/rio.h
··· 163 163 * @ops: configuration space functions 164 164 * @id: Port ID, unique among all ports 165 165 * @index: Port index, unique among all port interfaces of the same type 166 + * @sys_size: RapidIO common transport system size 167 + * @phy_type: RapidIO phy type 166 168 * @name: Port name string 167 169 * @priv: Master port private data 168 170 */