How to add platform specific data to a of_device

2007-07-14 Thread Juergen Beisert
Hi, I'm trying to use the drivers/spi/mpc52xx_psc_spi.c as an open firmware device (ARCH=powerpc). This device needs some platform specific data (the devices connected to the SPI bus and how to drive the chipselects to these devices). The driver itself get a "struct of_device *op" in his probe fu

Re: How to add platform specific data to a of_device

2007-07-14 Thread Benjamin Herrenschmidt
On Sat, 2007-07-14 at 18:31 +0200, Juergen Beisert wrote: > Hi, > > I'm trying to use the drivers/spi/mpc52xx_psc_spi.c as an open firmware device > (ARCH=powerpc). This device needs some platform specific data (the devices > connected to the SPI bus and how to drive the chipselects to these devic

possible dead CONFIG-related content under arch/powerpc

2007-07-14 Thread Robert P. J. Day
not sure if this is still the right ML, but here's the equivalent unreferenced content under arch/powerpc: == FC_ENET_HAS_SCC == arch/powerpc/platforms/8xx/mpc885ads_setup.c:109:#ifndef CONFIG_FC_ENET_HAS_SCC == SMP_750 == arch/ppc/mm/tlb.c:92:#ifdef CONFIG_SMP_7

possibly dead CONFIG-related content in arch/ppc

2007-07-14 Thread Robert P. J. Day
from the most recent pull of the git tree, the output of my script to find possibly dead content in the tree based on variables that aren't defined in any Kconfig file anywhere in the entire tree. feel free to do with this as you wish. == ADS8260 == arch/ppc/boot/simple/m8260_t

[PATCH] POWERPC: Correct misspelled config variable in arch/powerpc/Kconfig.

2007-07-14 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 6beee32..0e59024 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -391,7 +391,7 @@ config NOT_COHERENT_CACHE depends on 4xx || 8xx || E200 default

Re: [RFC 0/3] lro: Generic Large Receive Offload for TCP traffic

2007-07-14 Thread David Miller
I think this work is great. Thanks for doing it. Besides the fixups Evgeniy has selected, and the suggestion to receive into pages to cut down allocation costs, my only request is to make this thing able to handle ipv6 as well even if no current chips could facilitate that yet. _