linux/arch/powerpc/sysdev
Anatolij Gustschin 7ea6fd7e2d [POWERPC] Fix Oops with TQM5200 on TQM5200
The "bestcomm-core" driver defines its of_match table as follows

static struct of_device_id mpc52xx_bcom_of_match[] = {
	{ .type = "dma-controller", .compatible = "fsl,mpc5200-bestcomm", },
	{ .type = "dma-controller", .compatible = "mpc5200-bestcomm", },
	{},
};

so while registering the driver, the driver's probe function won't be
called, because the device tree node doesn't have a device_type
property.  Thus the driver's bcom_engine structure won't be allocated.
Referencing this structure later causes observed Oops.

Checking bcom_eng pointer for NULL before referencing data pointed
by it prevents oopsing, but fec driver still doesn't work (because
of the lost bestcomm match and resulted task allocation failure).
Actually the compatible property exists and should match and so
the fec driver should work.

This removes .type = "dma-controller" from the bestcomm driver's
mpc52xx_bcom_of_match table to solve the problem.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-03-24 17:55:51 +11:00
..
bestcomm [POWERPC] Fix Oops with TQM5200 on TQM5200 2008-03-24 17:55:51 +11:00
qe_lib [POWERPC] QE: Make qe_get_firmware_info reentrant 2008-03-10 13:07:27 -05:00
Kconfig [POWERPC] 4xx: PLB to PCI Express support 2007-12-23 13:12:34 -06:00
Makefile [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
axonram.c [POWERPC] Clean out asm/of_{platform, device}.h from sysdev/ 2007-12-06 14:44:30 +11:00
cpm1.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
cpm2.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
cpm2_pic.c [POWERPC] cpm2: Infrastructure code cleanup. 2007-10-04 11:02:04 -05:00
cpm2_pic.h
cpm_common.c [POWERPC] cpm: Fix a couple minor issues in cpm_common.c. 2007-11-09 03:47:44 -06:00
dart.h
dart_iommu.c [POWERPC] Fix section mismatch in dart_iommu.c 2007-08-17 11:02:06 +10:00
dcr-low.S
dcr.c [POWERPC] Add missing native dcr dcr_ind_lock spinlock 2008-02-06 21:02:56 -06:00
fsl_pci.c [POWERPC] FSL: Rework PCI/PCIe support for 85xx/86xx 2008-01-23 19:31:16 -06:00
fsl_pci.h [POWERPC] Fixup resources on pci_bus for PCIe PHB when no device is connected 2007-07-23 10:27:08 -05:00
fsl_rio.c [POWERPC] Move RapidIO support code from arch/ppc 2008-01-23 19:35:15 -06:00
fsl_rio.h [POWERPC] Move RapidIO support code from arch/ppc 2008-01-23 19:35:15 -06:00
fsl_soc.c [POWERPC] FSL: fix mpc83xx_spi device registration 2008-02-05 23:38:27 -06:00
fsl_soc.h [POWERPC] 85xx/86xx: refactor RSTCR reset code 2007-10-08 08:38:47 -05:00
grackle.c [POWERPC] pci32: Add flags modifying the PCI code behaviour 2007-12-20 16:18:07 +11:00
i8259.c [POWERPC] i8259: Add disable method 2007-11-08 14:15:29 +11:00
indirect_pci.c [POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci 2007-10-12 14:05:17 +10:00
ipic.c [POWERPC] Fix crash in init_ipic_sysfs on efika 2008-03-24 17:55:00 +11:00
ipic.h [POWERPC] ipic: ack only for edge interrupts 2007-12-12 01:53:07 -06:00
micropatch.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
mmio_nvram.c [POWERPC] arch/powerpc/: Spelling fixes 2007-12-20 16:15:51 +11:00
mpc8xx_pic.c [POWERPC] arch/powerpc/sysdev: Add missing of_node_put 2008-02-06 22:06:59 +11:00
mpc8xx_pic.h [POWERPC] 8xx: mpc885ads pcmcia support 2007-07-10 00:33:51 -05:00
mpic.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
mpic.h [POWERPC] pasemi: Implement NMI support 2007-12-28 09:22:24 -06:00
mpic_msi.c [POWERPC] Fix section mismatch in PCI code 2007-09-19 15:25:34 +10:00
mpic_pasemi_msi.c [POWERPC] pasemi: Remove warning in mpic_pasemi_msi.c 2008-02-21 21:08:35 +11:00
mpic_u3msi.c [POWERPC] Inline u3msi_compose_msi_msg() 2007-10-03 09:11:42 +10:00
mv64x60.h [POWERPC] Add Marvell mv64x60 udbg putc/getc functions 2007-09-22 14:49:21 +10:00
mv64x60_dev.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
mv64x60_pci.c [POWERPC] Use for_each macros in arch/powerpc/sysdev 2008-01-17 14:56:54 +11:00
mv64x60_pic.c [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
mv64x60_udbg.c [POWERPC] Use for_each macros in arch/powerpc/sysdev 2008-01-17 14:56:54 +11:00
of_rtc.c [POWERPC] Enable RTC for Ebony and Walnut (v2) 2008-01-25 07:07:26 -06:00
pmi.c [POWERPC] Clean out asm/of_{platform, device}.h from sysdev/ 2007-12-06 14:44:30 +11:00
ppc4xx_pci.c [POWERPC] 4xx: PCIe: Increase max busses per port to 64 2008-01-08 08:05:23 -06:00
ppc4xx_pci.h [POWERPC] 4xx: PCI-E Link setup improvements 2007-12-23 13:18:49 -06:00
rtc_cmos_setup.c [POWERPC] Add interrupt resource for RTC CMOS driver 2007-08-17 13:18:58 -05:00
tsi108_dev.c [POWERPC] Use for_each macros in arch/powerpc/sysdev 2008-01-17 14:56:54 +11:00
tsi108_pci.c [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
uic.c [POWERPC] Use for_each macros in arch/powerpc/sysdev 2008-01-17 14:56:54 +11:00
xilinx_intc.c [POWERPC] Xilinx: update compatible list for interrupt controller 2008-01-09 07:48:31 -07:00