Re: [PATCH 1/6] powerpc: Move #ifdef'ed body of do_IRQ() into a separate function

2009-04-25 Thread Christoph Hellwig
On Thu, Apr 23, 2009 at 11:31:37AM +1000, Michael Ellerman wrote: > +#ifdef CONFIG_IRQSTACKS Wasn't there a plan to make CONFIG_IRQSTACKS the unconditional default? The actual patch looks good to me. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.or

[PATCH 00/13] OF device tree handling of PHY drivers

2009-04-25 Thread Grant Likely
This series adds common code for reading PHY connection data out of the OpenFirmware device tree. This simplifies the network drivers which use the device tree and which currently implement their own solutions for reading the PHY data out of the device tree directly. I would like to see this seri

[PATCH v3 01/13] of: add of_parse_phandle() helper for parsing phandle properties

2009-04-25 Thread Grant Likely
From: Grant Likely of_parse_phandle() is a helper function to read and parse a phandle property and return a pointer to the resulting device_node. Signed-off-by: Grant Likely Acked-by: Andy Fleming --- drivers/of/base.c | 24 include/linux/of.h |3 +++ 2 files

[PATCH v3 02/13] phylib: rework to prepare for OF registration of PHYs

2009-04-25 Thread Grant Likely
From: Grant Likely This patch makes changes in preparation for supporting open firmware device tree descriptions of MDIO busses. Changes include: - Cleanup handling of phy_map[] entries; they are already NULLed when registering and so don't need to be re-cleared, and it is good practice to c

[PATCH v3 03/13] phylib: add *_direct() variants of phy_connect and phy_attach functions

2009-04-25 Thread Grant Likely
From: Grant Likely Add phy_connect_direct() and phy_attach_direct() functions so that drivers can use a pointer to the phy_device instead of trying to determine the phy's bus_id string. This patch is useful for OF device tree descriptions of phy devices where the driver doesn't need or know what

[PATCH v3 04/13] openfirmware: Add OF phylib support code

2009-04-25 Thread Grant Likely
From: Grant Likely Add support for parsing the device tree for PHY devices on an MDIO bus. Currently many of the PowerPC ethernet drivers are open coding a solution for reading data out of the device tree to find the correct PHY device. This patch implements a set of common routines to: a) let M

[PATCH v3 05/13] net: Rework mpc5200 fec driver to use of_mdio infrastructure.

2009-04-25 Thread Grant Likely
From: Grant Likely The patch reworks the MPC5200 Fast Ethernet Controller (FEC) driver to use the of_mdio infrastructure for registering PHY devices from data out openfirmware device tree, and eliminates the assumption that the PHY for the FEC is always attached to the FEC's own MDIO bus. With t

[PATCH v3 06/13] net: rework fsl_pq_mdio driver to use of_mdio infrastructure

2009-04-25 Thread Grant Likely
From: Grant Likely This patch simplifies the driver by making use of more common code. Tested on Freescale MPC8349emitxgp eval board Signed-off-by: Grant Likely Acked-by: Andy Fleming --- drivers/net/fsl_pq_mdio.c | 51 +++-- 1 files changed, 3 inse

[PATCH v3 07/13] net: Rework gianfar driver to use of_mdio infrastructure.

2009-04-25 Thread Grant Likely
From: Grant Likely This patch simplifies the driver by making use of more common code. Tested on Freescale MPC8349emitxgp eval board Signed-off-by: Grant Likely Acked-by: Andy Fleming --- drivers/net/gianfar.c | 109 + drivers/net/gianfar.h |

[PATCH v3 08/13] net: Rework pasemi_mac driver to use of_mdio infrastructure

2009-04-25 Thread Grant Likely
From: Grant Likely This patch simplifies the driver by making use of more common code. Signed-off-by: Grant Likely Tested-by: Olof Johansson Acked-by: Olof Johansson Acked-by: Andy Fleming --- arch/powerpc/platforms/pasemi/gpio_mdio.c | 32 + drivers/net/pasem

[PATCH v3 09/13] net: Rework ucc_geth driver to use of_mdio infrastructure

2009-04-25 Thread Grant Likely
From: Grant Likely This patch simplifies the driver by making use of more common code. Signed-off-by: Grant Likely Acked-by: Andy Fleming --- drivers/net/ucc_geth.c | 47 --- drivers/net/ucc_geth.h |2 +- 2 files changed, 13 insertions(+), 36

[PATCH v3 10/13] powerpc/82xx: Rework Embedded Planet ep8248e platform to use of_mdio

2009-04-25 Thread Grant Likely
From: Grant Likely This patch modifies the bitbanged MDIO driver in the ep8248e platform code to use the common of_mdio infrastructure. Signed-off-by: Grant Likely Acked-by: Andy Fleming --- arch/powerpc/platforms/82xx/ep8248e.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions

[PATCH v3 11/13] net: Rework fs_enet driver to use of_mdio infrastructure

2009-04-25 Thread Grant Likely
From: Grant Likely This patch simplifies the driver by making use of more common code. Signed-off-by: Grant Likely Acked-by: Andy Fleming --- drivers/net/fs_enet/fs_enet-main.c | 69 ++-- drivers/net/fs_enet/mii-bitbang.c | 29 +-- drivers/net

[PATCH v3 12/13] net: add Xilinx ll_temac device driver

2009-04-25 Thread Grant Likely
From: Grant Likely This patch adds support for the Xilinx ll_temac 10/100/1000 Ethernet device. The ll_temac ipcore is typically used on Xilinx Virtex and Spartan designs attached to either a PowerPC 4xx or Microblaze processor. At the present moment, this driver only works with Virtex5 PowerPC

[PATCH v3 13/13] net: fix fsl_pq_mdio driver to use module_init()

2009-04-25 Thread Grant Likely
From: Grant Likely Modules are not supposed to use any of the *_initcall*() hooks as the entry point. fsl_pq_mdio.c was using subsys_initcall_sync() instead of module_init() to guarantee that the MDIO bus was initialized before the Ethernet driver goes looking for the phy. However, the recent O