aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms/85xx/tqm85xx.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2006-10-19 19:52:26 -0500
committerPaul Mackerras <paulus@samba.org>2006-11-13 14:48:52 +1100
commita9b14973a8c42b2aecc968851372203c6567e196 (patch)
treeaa18a83855bbe5977504ceb3ab5efde89d5eb2d6 /arch/ppc/platforms/85xx/tqm85xx.c
parent[PATCH] Add Efika platform support (diff)
downloadlinux-dev-a9b14973a8c42b2aecc968851372203c6567e196.tar.xz
linux-dev-a9b14973a8c42b2aecc968851372203c6567e196.zip
[PATCH] Slight refactor of interrupt mapping for FSL parts
* Cleaned up interrupt mapping a little by adding a helper function which parses the irq out of the device-tree, and puts it into a resource. * Changed the arch/ppc platform files to specify PHY_POLL, instead of -1 * Changed the fixed phy to use PHY_IGNORE_INTERRUPT * Added ethtool.h and mii.h to phy.h includes Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
-rw-r--r--arch/ppc/platforms/85xx/tqm85xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/platforms/85xx/tqm85xx.c b/arch/ppc/platforms/85xx/tqm85xx.c
index dd45f2e18449..4ee2bd156dc5 100644
--- a/arch/ppc/platforms/85xx/tqm85xx.c
+++ b/arch/ppc/platforms/85xx/tqm85xx.c
@@ -137,9 +137,9 @@ tqm85xx_setup_arch(void)
mdata->irq[0] = MPC85xx_IRQ_EXT8;
mdata->irq[1] = MPC85xx_IRQ_EXT8;
- mdata->irq[2] = -1;
+ mdata->irq[2] = PHY_POLL;
mdata->irq[3] = MPC85xx_IRQ_EXT8;
- mdata->irq[31] = -1;
+ mdata->irq[31] = PHY_POLL;
/* setup the board related information for the enet controllers */
pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_TSEC1);