Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Vitaly Bordug
В Thu, 17 Dec 2009 09:16:07 +0100 Wolfgang Denk пишет: > Dear Vitaly Bordug, > > > repl: bad addresses: > linuxppc-...@ozlabs.org -- junk > after lo...@domain (<) In message <20091216024730.455b9...@vitb-lp> > you wrote: > > > > From: Heiko Sch

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Vitaly Bordug
В Thu, 17 Dec 2009 10:34:34 +0100 Wolfram Sang пишет: > On Wed, Dec 16, 2009 at 02:47:30AM +0300, Vitaly Bordug wrote: > > > > From: Heiko Schocher > > > > This driver provides (read/write) access to the > > U-Boot bootcounter via PROC FS or sysFS. > &g

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Vitaly Bordug
[...] > > bootco...@0x3eb0 { > > device_type = "bootcount"; Clear. > > No device_type. > > > compatible = "uboot,bootcount"; > > reg = <0x3eb0 0x08>; > > }; > > This area should also be in the flattened tree's reserved map.

[POWERPC] add U-Boot bootcount driver.

2009-12-15 Thread Vitaly Bordug
From: Heiko Schocher This driver provides (read/write) access to the U-Boot bootcounter via PROC FS or sysFS. in u-boot, it uses a 8 byte mem area (it must hold the value over a soft reset of course), for storing a bootcounter (it counts many soft resets are done, on hard reset it starts with 0

[RFC][POWERPC] WDT: added support for the WDT Chain driver.

2009-09-01 Thread Vitaly Bordug
triggers the hardware watchdog, the software can setup independent timeout periods. More info in Documentation/watchdog/wdt_chain.txt Signed-off-by: Heiko Schocher Signed-off-by: Vitaly Bordug --- This code was (and is) originally residing in DENX public git repo. I think it would

[USB] powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3]

2008-11-09 Thread Vitaly Bordug
: http://www.amcc.com/Embedded/Downloads/download.html?cat=1&family=15&ins=2 The patch below is generally based on the latter, but reworked to powerpc/of_device USB drivers, and uses a few devicetree inquiries to get rid of (some) hardcoded defines. Signed-off-by: Vitaly Bordug <[EMAI

Re: [USB] powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3]

2008-11-09 Thread Vitaly Bordug
В Mon, 3 Nov 2008 09:51:55 -0500 (EST) Alan Stern <[EMAIL PROTECTED]> пишет: > On Mon, 3 Nov 2008, Vitaly Bordug wrote: > > > A published errata for ppc440epx states, that when running Linux > > with both EHCI and OHCI modules loaded, the EHCI module experiences >

[USB] powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3]

2008-11-02 Thread Vitaly Bordug
amcc.com: http://www.amcc.com/Embedded/Downloads/download.html?cat=1&family=15&ins=2 The patch below is generally based on the latter, but reworked to powerpc/of_device USB drivers, and uses a few devicetree inquiries to get rid of (some) hardcoded defines. Signed-off-by: Vitaly Bordug <[EMAI

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata [take 2]

2008-10-14 Thread Vitaly Bordug
> Have you tried building this on a non-PPC440EPx system? It looks > like this patch would cause a compile error. yes, correct, last minute fix didn't make it into the patch, sorry about that. Will refresh, test and resubmit. -Vitaly ___ Linuxppc-dev

[RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata [take 2]

2008-10-14 Thread Vitaly Bordug
amcc.com: http://www.amcc.com/Embedded/Downloads/download.html?cat=1&family=15&ins=2 The patch below is generally based on the latter, but reworked to powerpc/of_device USB drivers, and uses a few devicetree inquiries to get rid of (some) hardcoded defines. Signed-off-by: Vitaly Bordug <[EMAI

Re: [PATCH,CFT] dynamic struct mii_bus allocation

2008-10-03 Thread Vitaly Bordug
gt; > Lennert Buytenhek (5): > phylib: phy_mii_ioctl() fixes > phylib: add mdiobus_{read,write} > phylib: rename mii_bus::dev to mii_bus::parent > phylib: move to dynamic allocation of struct mii_bus > phylib: give mdio buses a device tree presence looks

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-09-06 Thread Vitaly Bordug
В Fri, 5 Sep 2008 11:17:03 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> пишет: > On Fri, 5 Sep 2008, Vitaly Bordug wrote: > > > > > Not every hub will work (none of available did so far), and it > > > > is often not an option for embedded device without rewir

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-09-05 Thread Vitaly Bordug
В Thu, 4 Sep 2008 17:40:49 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> пишет: > On Fri, 5 Sep 2008, Vitaly Bordug wrote: > > > I've started looking this way. Sorry, but this approach is a little > > bit fragile, and unreliable. > > > > First, it just

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-09-04 Thread Vitaly Bordug
В Fri, 29 Aug 2008 17:30:57 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> пишет: > On Fri, 29 Aug 2008, Vitaly Bordug wrote: > > > But even assuming PM set, common use-case of > > embedded systems to have stuff on USB bus that is never plugged off; > > and in case of c

Re: [FIX] fs_enet: Using mii-bitbang as module

2008-09-04 Thread Vitaly Bordug
В Thu, 04 Sep 2008 08:01:38 +0200 Heiko Schocher <[EMAIL PROTECTED]> пишет: > Hello Vitaly, > > I tried to use the mii-bitbang driver > (drivers/net/fs_enet/mii-bitbang.c) as a module and got the following > error, when inserting it with insmod: > > ~ # insmod fs_enet > eth0: fs_enet: a6:07:11:7

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-08-29 Thread Vitaly Bordug
В Fri, 29 Aug 2008 11:26:07 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> пишет: > On Fri, 29 Aug 2008, Benjamin Herrenschmidt wrote: > > > I suppose some embedded platforms don't use CONFIG_PM, is this > > still a requirement for autosuspend ? Or do that happen always on > > an empty port nowadays

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-08-28 Thread Vitaly Bordug
В Wed, 27 Aug 2008 10:36:20 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> пишет: > On Wed, 27 Aug 2008, Vitaly Bordug wrote: > > > A published errata for ppc440epx states, that when running Linux > > with both EHCI and OHCI modules loaded, the EHCI module experiences >

[RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-08-26 Thread Vitaly Bordug
CONFIG_* stuff, in favor to defining specific quirk. The latter required to add more accurate description into compatible field of USB node for 'sequioia' board. Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- arch/power

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errrata

2008-08-20 Thread Vitaly Bordug
В Tue, 19 Aug 2008 12:03:42 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> пишет: > > .../... > > > There is a software workaround that uses a trick to detect if > > full-speed interface is enabled from the hi-speed driver(and vice > > versa), and use suspend control for ohci to enable/disabl

[RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errrata

2008-08-18 Thread Vitaly Bordug
s=2 The patch below is generally based on the latter, but reworked to powerpc/of_device USB drivers, and uses a few devicetree inquiries to get rid of (some) hardcoded defines. Cc: Mark Miesfeld <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> Signed-off-by:

Re: [PATCH] watchdog: delete unused driver mpc8xx_wdt.c

2008-07-24 Thread Vitaly Bordug
> is supported by mpc8xxx_wdt.c. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> -Vitaly ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: going to OLS?

2008-07-20 Thread Vitaly Bordug
Can't make it but wish you guys all the best at official and unofficial PPC BoFs/beers... I'll be heading for Linux Plumbers this autumn though. -- Sincerely, Vitaly ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listin

powerpc: Add missing reference to coherent_dma_mask

2008-07-08 Thread Vitaly Bordug
There is dma_mask in of_device upon of_platform_device_create() but we don't actually set coherent_dma_mask. This may cause weird behavior of USB subsystem using of_device USB host drivers. Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/kernel/of_platform.c |

Re: powerpc: Add proper reference to dma_mask

2008-07-08 Thread Vitaly Bordug
В Tue, 08 Jul 2008 14:28:11 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> пишет: > On Tue, 2008-07-08 at 13:54 +1000, Stephen Rothwell wrote: > > Hi Vitaly, > > > > On Tue, 8 Jul 2008 03:12:56 +0400 Vitaly Bordug > > <[EMAIL PROTECTED]> wrote

powerpc: Add proper reference to dma_mask

2008-07-07 Thread Vitaly Bordug
st drivers. Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/kernel/of_platform.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c index e79ad8a..2bf4c04 100644 --- a/arch/powerpc/kern

Re: patches for 2.6.27...

2008-07-06 Thread Vitaly Bordug
В Wed, 2 Jul 2008 10:36:43 +0200 Laurent Pinchart <[EMAIL PROTECTED]> пишет: > Hi Kumar, > > On Wednesday 02 July 2008, Kumar Gala wrote: > > Please point out any patches that have been posted but havent made > > it into a git tree related to Freescale chips. > > > > I know there are probably a

Re: [PATCHv2] fs_enet: restore promiscuous and multicast settings in restart()

2008-06-26 Thread Vitaly Bordug
rent Pinchart <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> -- Sincerely, Vitaly ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2] fs_enet: MDIO on GPIO support

2008-06-26 Thread Vitaly Bordug
On Thu, 26 Jun 2008 13:21:23 +0200 Laurent Pinchart <[EMAIL PROTECTED]> wrote: > > There should be no dependencies. When the OF GPIO support is not selected > > linux/of_gpio.h will define of_get_gpio() as a stub, so the fs_enet driver > > will fall back to the legacy binding. > > Have we rea

Re: [PATCH] fs_enet: restore promiscuous and multicast settings in restart()

2008-06-19 Thread Vitaly Bordug
On Wed, 18 Jun 2008 22:45:57 +0400 "Matvejchikov Ilya" <[EMAIL PROTECTED]> wrote: > I'm glad that you have corrected it. Half a year ago I pointed out > that there was such a mistake: > http://patchwork.ozlabs.org/linuxppc/patch?id=10700 > You've used -embedded ML, and patch wasn't noticed... I c

Re: [PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-06-13 Thread Vitaly Bordug
. > > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] [8xx] powerpc: Add support for the MPC852 based mgsuvd board from keymile.

2008-06-11 Thread Vitaly Bordug
From: Heiko Schocher <[EMAIL PROTECTED]> Supported SMC1 (serial console), SCC3 Ethernet (10Mbps hdx). Updated version was posted to ML; http://patchwork.ozlabs.org/linuxppc/patch?id=17398 Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[

[PATCH] [fs_enet] powerpc: Fix SCC Ethernet on CPM2, and crash in fs_enet_rx_napi()

2008-06-11 Thread Vitaly Bordug
From: Heiko Schocher <[EMAIL PROTECTED]> Initially posted on: http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049682.html Feedback is addressed in this version (yes, this patch was floating around for a while...) Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> Signed-of

[PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-06-11 Thread Vitaly Bordug
From: Heiko Schocher <[EMAIL PROTECTED]> Updated version was posted to ML: http://patchwork.ozlabs.org/linuxppc/patch?id=17250, no new feedback acquired. Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/b

[PATCH] [85xx] powerpc: Update pin setup for 8560ads

2008-06-11 Thread Vitaly Bordug
Ports B and C pins programming is changed to get SCC2 UART and FCC3 ethernet work. Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/mpc85xx_ads.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platform

Re: 4xx support in arch/ppc is going away Real Soon Now

2008-06-11 Thread Vitaly Bordug
OTECTED]> > Acked-by: Scott Wood <[EMAIL PROTECTED]> > Acked-by: Sean MacLennan <[EMAIL PROTECTED]> > Acked-by: Segher Boessenkool <[EMAIL PROTECTED]> > Acked-by: Stefan Roese <[EMAIL PROTECTED]> > Acked-by: Stephen Neuendorffer <[EMAIL PROTECTED]> >

Re: [PATCH 07/12] pcmcia: use linux/of_{device,platform}.h instead of asm

2008-05-23 Thread Vitaly Bordug
В Fri, 23 May 2008 16:31:08 +1000 Stephen Rothwell <[EMAIL PROTECTED]> пишет: > > Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> > --- > drivers/pcmcia/electra_cf.c |2 +- > drivers/pcmcia/m8xx_pcmcia.c

Re: [PATCH 4/6] drivers/net/fs_enet: remove null pointer dereference

2008-05-12 Thread Vitaly Bordug
On Mon, 12 May 2008 15:38:26 +0200 (CEST) Julia Lawall wrote: > From: Julia Lawall <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> > > The following code appears in the function fs_init_instance in the > file drivers/net/fs_enet/fs_enet-main.c. > &

Re: [PATCH] Delete unused fec_8xx net driver

2008-05-08 Thread Vitaly Bordug
On Tue, May 06, 2008 at 12:30:08PM -0400, Jeff Garzik wrote: > Becky Bruce wrote: > >This driver has been superseded by fs_enet and is no longer in use. > > > >Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> > > I cannot make an informed judgement on this. > > ACK, and pass through platform tree,

Re: drivers/net/fec_8xx config problem

2008-04-30 Thread Vitaly Bordug
On Wed, 30 Apr 2008 14:23:29 -0500 Scott Wood wrote: > On Wed, Apr 30, 2008 at 02:24:19PM -0500, Becky Bruce wrote: > > > > On Apr 30, 2008, at 2:20 PM, Scott Wood wrote: > > >On Wed, Apr 30, 2008 at 02:19:21PM -0500, Becky Bruce wrote: > > >>I just noticed that the fec_8xx driver is not currentl

Re: [PATCH] Add Fixed PHY support for ucc_geth

2008-03-18 Thread Vitaly Bordug
ut let's cc linuxppc-devel > Signed-off-by: Joakim Tjernlund <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> > --- > > This is a regression as fixed PHYs works in 2.6.23 and I am > using it. > > drivers/net/ucc_geth.c | 53 > ++

Re: [PATCH v2] 8xx: Add support for the MPC852 based board from keymile.

2008-03-18 Thread Vitaly Bordug
On Tue, 18 Mar 2008 09:04:14 +0100 Heiko Schocher wrote: > Hello Stephen, > > Stephen Rothwell wrote: > > On Tue, 18 Mar 2008 08:13:06 +0100 Heiko Schocher <[EMAIL PROTECTED]> > > wrote: > >> Stephen Rothwell wrote: > >>> On Fri, 14 Mar 2008 10:24:30 +0100 Heiko Schocher <[EMAIL PROTECTED]> > >>>

Re: [Patch] 8xx: MGSUVD support

2008-03-17 Thread Vitaly Bordug
On Mon, 17 Mar 2008 17:38:21 -0500 Scott Wood wrote: > On Sun, Mar 09, 2008 at 07:59:14PM +0300, Vitaly Bordug wrote: > > I would like all the comments to be consistent C style (because > > that's it for the most other dts'es). > > $ fgrep -rI // arch/powerpc/bo

Re: [Patch] 8xx: MGSUVD support

2008-03-09 Thread Vitaly Bordug
Heiko, On Sun, 09 Mar 2008 10:56:29 +0100 Heiko Schocher wrote: > Hello, > > the following patch adds support for the MPC852 based mgsuvd board > from keymile. Looks good overall. Please add supported/working/not working etc SoC devices state along with the patch description. Also a few really

Re: [POWERPC] 8xx: fix swap

2008-03-06 Thread Vitaly Bordug
On Thu, 6 Mar 2008 09:56:58 -0600 Kumar Gala wrote: > > On Mar 6, 2008, at 4:53 AM, Vitaly Bordug wrote: > > > This makes swap routines operate correctly on the ppc_8xx based > > machines. > > Code has been revalidated on mpc885ads (8M sdram) with recent > >

[POWERPC] 8xx: fix swap

2008-03-06 Thread Vitaly Bordug
tant on low-memory platforms, those are actually non-operable without it. Signed-off-by: Yuri Tikhonov <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_8xx.S | 30 +- include/asm-powerpc/pgtable-ppc

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-21 Thread Vitaly Bordug
On Thu, 21 Feb 2008 13:21:58 +0100 Wolfgang Denk wrote: > Dear Vitaly, > > in message <[EMAIL PROTECTED]> you wrote: > > On Mon, 4 Feb 2008 12:24:21 -0600 > > Scott Wood wrote: > > > > > On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote: > > > > Hi Yuri, > > > > > > > > > Here i

Re: [PATCH 05/11] ppc/mpc8xx: remove ppc_ide_md hooks

2008-02-14 Thread Vitaly Bordug
Add __init tag to m8xx_ide_init_ports(). > > This patch fixes hwif->irq always being overriden to 0 (== > auto-probe, is this even working on PPC?) because of > ide_init_default_irq() call in ide.c. > > There should be no other functional changes. > > Cc: Benjamin H

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-04 Thread Vitaly Bordug
On Mon, 4 Feb 2008 12:24:21 -0600 Scott Wood wrote: > On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote: > > Hi Yuri, > > > > > Here is the patch which makes Linux-2.6 swap routines operate > > > correctly on the ppc-8xx-based machines. > > > > is there any 8xx board left which i

Re: [PATCH 1/3] 8xx: Analogue & Micro Adder875 board support.

2008-01-15 Thread Vitaly Bordug
On Tue, 15 Jan 2008 23:25:02 + Bryan O'Donoghue wrote: > Greetings Scott. > > I've tried both of the procedures you've outlined on the Adder875 with > the patches supplied against the paulus git tree to no avail. > > Pass #1 : > > Doing it safe with cuImage.8xx > [...] > => bootm 0x40

Re: [PATCH POWERPC] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-21 Thread Vitaly Bordug
On Fri, 21 Dec 2007 20:36:28 +0100 Jochen Friedrich wrote: > Using the port of 2.4 code from Vitaly Bordug > <[EMAIL PROTECTED]> and the actual algorithm used by the i2c > driver of the DBox code on cvs.tuxboc.org from Tmbinc, Gillem > ([EMAIL PROTECTED]). Renamed i2c-rpx.c and

Re: [PATCH/.24] [NET] fs_enet: check for phydev existence in the ethtool handlers

2007-12-20 Thread Vitaly Bordug
e800021 7c691b78 > 80010014 7d234b78 38210010 7c0803a6 4e800020 <8003014c> 7c6b1b78 > 3860 90040004 > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> Jeff: this fix is important and should be merged if possible. > -

Re: [PATCH/RFC] [POWERPC] Add fixed-phy support for fs_enet

2007-12-18 Thread Vitaly Bordug
On Mon, 17 Dec 2007 18:20:14 -0500 Jeff Garzik wrote: > Jochen Friedrich wrote: > > This patch adds support to use the fixed-link property > > of an ethernet node to fs_enet for the > > CONFIG_PPC_CPM_NEW_BINDING case. > > > > Signed-off-by: Jochen Friedrich <

Re: [PATCH] [POWERPC][RFC] MPC8360E-RDK: Device tree and board file

2007-12-17 Thread Vitaly Bordug
On Mon, 17 Dec 2007 12:48:17 -0600 Scott Wood wrote: > Vitaly Bordug wrote: > > On Mon, 17 Dec 2007 11:03:04 -0600 Scott Wood wrote: > >>> These phy nodes have basically no information in them. PHY nodes > >>> are optional - > >> If they are truly optio

Re: [PATCH] arch/ppc/: Spelling fixes

2007-12-17 Thread Vitaly Bordug
On Mon, 17 Dec 2007 11:30:14 -0800 Joe Perches wrote: > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > --- > arch/ppc/syslib/ppc8xx_pic.c |2 +- > arch/ppc/syslib/ppc_sys.c|2 +- I'm not really sure we should still care about typos in arch/ppc.. -- Sincerely, Vitaly __

Re: [PATCH] [POWERPC][RFC] MPC8360E-RDK: Device tree and board file

2007-12-17 Thread Vitaly Bordug
On Mon, 17 Dec 2007 11:03:04 -0600 Scott Wood wrote: > > > + phy1: [EMAIL PROTECTED] { > > > + reg = <1>; > > > + device_type = "ethernet-phy"; > > > + }; > > > > These phy nodes have basically no information in the

Re: Please pull linux-2.6-8xx.git for-paulus branch

2007-12-09 Thread Vitaly Bordug
On Sat, 8 Dec 2007 09:17:06 -0600 Kumar Gala wrote: > > On Dec 8, 2007, at 4:09 AM, Vitaly Bordug wrote: > > > On Sat, 8 Dec 2007 13:00:25 +0300 > > Vitaly Bordug wrote: > > > >> Paul, > >> > >> please do > >> git-pull > >&

Re: Please pull linux-2.6-8xx.git for-paulus branch

2007-12-08 Thread Vitaly Bordug
On Sat, 8 Dec 2007 13:00:25 +0300 Vitaly Bordug wrote: > Paul, > > please do > git-pull > git://git.kernel.org/pub/scm/linux/kernel/git/vitb/linux-2.6-8xx.git > for-paulus > > to receive the following updates: > Forgot to tell that this is .25 material

Please pull linux-2.6-8xx.git for-paulus branch

2007-12-08 Thread Vitaly Bordug
Paul, please do git-pull git://git.kernel.org/pub/scm/linux/kernel/git/vitb/linux-2.6-8xx.git for-paulus to receive the following updates: Jochen Friedrich (4): powerpc: fix typo #ifdef -> #ifndef powerpc: kill non-existent symbols from ksyms and commproc.h powerpc: Add suppo

[PATCH 3/3] [POWERPC] MPC8349E-mITX: Vitesse 7385 PHY is not connected to the MDIO bus

2007-12-06 Thread Vitaly Bordug
...thus use fixed-link to register proper "Fixed PHY" Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8349emitx.dts | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) dif

[PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property

2007-12-06 Thread Vitaly Bordug
fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that not connected to the real MDIO bus. Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt |4 + arch/po

[PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-12-06 Thread Vitaly Bordug
platform fixed MDIO bus. There is also no more need to pre-allocate PHYs via .config option, this is all now handled dynamically. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> Acked-by: Jeff Garzik <[EMAIL PROTECTED]> --- drive

Re: [PATCH] Add aliases node to 8641hpcn DTS file.

2007-12-05 Thread Vitaly Bordug
On Wed, 5 Dec 2007 10:38:38 -0700 Grant Likely wrote: > > > > + aliases { > > + ethernet0 = &enet0; > > + ethernet1 = &enet1; > > + ethernet2 = &enet2; > > + ethernet3 = &enet3; > > + serial0 = &serial0; > > +

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-12-04 Thread Vitaly Bordug
On Tue, 04 Dec 2007 15:07:49 -0500 Jeff Garzik wrote: > Vitaly Bordug wrote: > > With that patch fixed.c now fully emulates MDIO bus, thus no need > > to duplicate PHY layer functionality. That, in turn, drastically > > simplifies the code, and drops down line count. >

Re: [PATCH] Make QSpan PCI work

2007-12-04 Thread Vitaly Bordug
On Mon, 3 Dec 2007 13:05:00 -0800 John Tyner wrote: > The following patch makes the QSpan PCI code compile and work on my > hardware. The patch is against 2.4, but I'm hoping it will still be > viewed as useful since the code currently does not even compile (2.6 > is the same). I had to make a ch

Re: [PATCH] Fix 8xx compile errors

2007-12-04 Thread Vitaly Bordug
On Mon, 3 Dec 2007 12:58:38 -0800 John Tyner wrote: > Building for 8xx fails to compile due to errors in a couple of > places. The first is due to the casting of an lvalue (if I remember > correctly), and the second was due to the cpmp variable being > declared static even though the headers previ

Re: ucc_uart: add support for Freescale QUICCEngine UART

2007-12-04 Thread Vitaly Bordug
On Wed, 5 Dec 2007 00:56:39 +0100 Arnd Bergmann wrote: > On Wednesday 05 December 2007, Timur Tabi wrote: > > Arnd Bergmann wrote: > > > > > You can argue that the QS is really a DMA device, but in that > > > case you should convert the driver to use the DMA mapping > > > interfaces correctly, wh

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-12-01 Thread Vitaly Bordug
On Sun, 2 Dec 2007 00:34:03 +0300 Anton Vorontsov wrote: > > If i understand your code correctly, you seem to rely on the fact > > that fixed_phy_add() is called before the fixed MDIO bus is scanned > > for devices. > > Yes, indeed. The other name of "fixed phys" are "platform phys" > or "plat

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-12-01 Thread Vitaly Bordug
On Sat, 01 Dec 2007 16:59:52 -0500 Jeff Garzik wrote: > Vitaly Bordug wrote: > > With that patch fixed.c now fully emulates MDIO bus, thus no need > > to duplicate PHY layer functionality. That, in turn, drastically > > simplifies the code, and drops down line count. >

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-12-01 Thread Vitaly Bordug
On Sat, 01 Dec 2007 14:48:54 +0100 Jochen Friedrich wrote: > Hi Vitaly, > > > With that patch fixed.c now fully emulates MDIO bus, thus no need > > to duplicate PHY layer functionality. That, in turn, drastically > > simplifies the code, and drops down line count. > > > > As an additional bonus,

Re: CPM2 USB host driver

2007-11-30 Thread Vitaly Bordug
On Fri, 30 Nov 2007 13:30:18 +0100 Laurent Pinchart wrote: > On Friday 30 November 2007 12:16, Vitaly Bordug wrote: > > On Fri, 30 Nov 2007 11:45:49 +0100 > > > > Laurent Pinchart wrote: > > > Hi everybody, > > > > > > Linux USB host su

Re: CPM2 USB host driver

2007-11-30 Thread Vitaly Bordug
On Fri, 30 Nov 2007 15:48:01 +0300 Anton Vorontsov wrote: > On Fri, Nov 30, 2007 at 01:30:18PM +0100, Laurent Pinchart wrote: > > On Friday 30 November 2007 12:16, Vitaly Bordug wrote: > > > On Fri, 30 Nov 2007 11:45:49 +0100 > > > > > > Laurent

Re: CPM2 USB host driver

2007-11-30 Thread Vitaly Bordug
On Fri, 30 Nov 2007 11:45:49 +0100 Laurent Pinchart wrote: > Hi everybody, > > Linux USB host support for the CPM, CPM2 and CPM2 pro is far from > complete. Many people showed interest on this list (and on > linuxppc-embedded) in the past, but nobody managed to complete a > driver and get it merg

Re: Timers on mpc8248 etc...

2007-11-29 Thread Vitaly Bordug
On Wed, 28 Nov 2007 21:06:36 -0700 Alan Bennett wrote: > It comes from uboot. Can you point me in the right direction to make > sure its right? >PowerPC,[EMAIL PROTECTED] { >device_type = "cpu"; >reg = <0>; >d

Re: [RFC/PATCH] powerpc: Move CPM command handling into the cpm drivers

2007-11-27 Thread Vitaly Bordug
On Mon, 26 Nov 2007 15:41:19 -0600 Scott Wood wrote: > Vitaly Bordug wrote: > > perhaps I was not clear enough. That was a rough idea how to handle > > the whole thing, not just cpm_cr_cmd. This cpm command is a corner > > case, but there can be other actions that

Re: [RFC/PATCH] powerpc: Move CPM command handling into the cpm drivers

2007-11-26 Thread Vitaly Bordug
On Mon, 26 Nov 2007 10:24:46 -0600 Scott Wood wrote: > On Fri, Nov 23, 2007 at 12:51:21AM +0300, Vitaly Bordug wrote: > > Even that might be not enough - we may have simultaneous call of > > this func in non-smp case... > > Do you really think that every piece of code t

[PATCH 3/3] [POWERPC] MPC8349E-mITX: Vitesse 7385 PHY is not connected to the MDIO bus

2007-11-26 Thread Vitaly Bordug
...thus use fixed-link to register proper "Fixed PHY" Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8349emitx.dts | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) dif

[PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property

2007-11-26 Thread Vitaly Bordug
fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that not connected to the real MDIO bus. Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt |3 + arch/po

[PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-11-26 Thread Vitaly Bordug
ROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- drivers/net/phy/Kconfig | 32 +-- drivers/net/phy/fixed.c | 427 - include/linux/phy_fixed.h | 49 ++--- 3 files changed, 176 insertions(+), 332 deletions(-) diff --git

Re: [PATCH revised 3/4] powerpc: Add EXPORT_SYMBOL_GPL for symbols required by fs_enet and cpm_uart

2007-11-26 Thread Vitaly Bordug
On Sun, 25 Nov 2007 13:02:03 -0800 Dan Malek wrote: > > On Nov 25, 2007, at 8:18 AM, Vitaly Bordug wrote: > > > To prevent using those pointers from within non-GPL modules. kind > > of policy now... > > As the original copyright holder of nearly all of this of >

Re: [PATCH resend 4/4] powerpc: Add support for PORTA and PORTB odr registers

2007-11-25 Thread Vitaly Bordug
On Thu, 22 Nov 2007 17:54:13 +0100 Jochen Friedrich wrote: > PORTA and PORTB have odr registers, as well. However, the PORTB odr > register is only 16bit. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > Acked-by: Scott Wood <[EMAIL PROTECTED]> Applied to linux-2.6-8xx.git, for-paulus b

Re: [PATCH resend 2/4] powerpc: kill non-existent symbols from ksyms and commproc.h

2007-11-25 Thread Vitaly Bordug
On Thu, 22 Nov 2007 17:53:54 +0100 Jochen Friedrich wrote: > Remove exports of __res and cpm_install_handler/cpm_free_handler. > Remove cpm_install_handler/cpm_free_handler from the commproc.h as > well. Both were used for ARCH=ppc and aren't defined for > ARCH=powerpc. > > CC arch/powerpc/

Re: [PATCH resend 1/4] powerpc: fix typo #ifdef -> #ifndef

2007-11-25 Thread Vitaly Bordug
On Thu, 22 Nov 2007 17:53:47 +0100 Jochen Friedrich wrote: > fpi->cp_command should be overwritten only if > CONFIG_PPC_CPM_NEW_BINDING is NOT set. Otherwise it is already set > from the device tree. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > Cc: Paul Mackerras <[EMAIL PROTECTED]>

Re: [PATCH revised 3/4] powerpc: Add EXPORT_SYMBOL_GPL for symbols required by fs_enet and cpm_uart

2007-11-25 Thread Vitaly Bordug
On Sun, 25 Nov 2007 09:38:57 -0600 Timur Tabi wrote: > Jochen Friedrich wrote: > > fs_enet and cpm_uart need symbols from commproc.c (for CPM1) or > > cpm2_common.c. Add EXPORT_SYMBOL_GPL for cpmp, cpm_setbrg and > > cpm2_immr, so the drivers can be compiled as modules. As I told replying to prev

Re: [RFC/PATCH] powerpc: Move CPM command handling into the cpm drivers

2007-11-24 Thread Vitaly Bordug
On Sat, 24 Nov 2007 18:53:34 +0100 Jochen Friedrich wrote: > Hi Vitaly, > > >>> + printk(KERN_ERR "%s(): Not able to issue CPM command\n", > >>> + __FUNCTION__); > >>> + return -EIO; > >>> > >> Do these need to be protected with a spin lock? > >> > > Even t

Re: [RFC][PATCH 0/3] OF-platform PATA driver

2007-11-23 Thread Vitaly Bordug
On Fri, 23 Nov 2007 20:52:29 +0300 Anton Vorontsov wrote: > Hi all, > > Here is the PATA Platform driver using OF infrastructure. > > Mostly it's just a wrapper around a bit modified pata_platform > driver. > > Patches are well split for the easier review: > > First one factors out platform_de

Re: [PATCH resend 3/4] powerpc: Add EXPORT_SYMBOL for symbols required by fs_enet and cpm_uart

2007-11-23 Thread Vitaly Bordug
On Thu, 22 Nov 2007 17:54:03 +0100 Jochen Friedrich wrote: > fs_enet and cpm_uart need symbols from commproc.c (for CPM1) or > cpm2_common.c. Add EXPORT_SYMBOL for cpmp, cpm_setbrg and cpm2_immr, > so the drivers can be compiled as modules. > I think this is not required. We are having very gross

Re: oops trying to execute sh

2007-11-22 Thread Vitaly Bordug
On Wed, 21 Nov 2007 11:54:01 -0800 (PST) John Charles Tyner wrote: > I'm trying to boot linux 2.6.22.9 on an mpc860c rev d4. > ppc or powerpc? > When init trys to spawn sh, during the exec, the kernel oopses as > seen below: This looks like coherency problem, or kernel picks wrong entry off cpu

Re: [RFC/PATCH] powerpc: Move CPM command handling into the cpm drivers

2007-11-22 Thread Vitaly Bordug
On Thu, 22 Nov 2007 11:36:29 -0700 Grant Likely wrote: > > +int cpm_command(u32 command, u8 opcode) > > +{ > > + int i; > > + > > + if (command & 0xff0f) > > + return -EINVAL; > > + > > + out_be16(&cpmp->cp_cpcr, command | CPM_CR_FLG | (opcode << > > 8)); > > +

Re: [RFC/PATCH 2/14] powerpc: Merge pci_process_bridge_OF_ranges()

2007-11-22 Thread Vitaly Bordug
re is no way around > these for now at least not until some other bits of the PCI code are > made common. > > Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> > --- > > Tested on a few pSeries, PowerMac G5, an

Re: [RFC/PATCH 4/14] powerpc: Fix powerpc 32 bits resource fixup for 64 bits resources

2007-11-22 Thread Vitaly Bordug
ike 64 bits does, within a > reserved are of the kernel address space. > > Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTECTED]> > --- > Verified on Freescale 83xx and should work for other 32bit stuff. > This n

Re: [PATCH 1/5] PowerPC 74xx: Katana Qp device tree

2007-11-21 Thread Vitaly Bordug
On Fri, 16 Nov 2007 19:12:53 +0300 Andrei Dolnikov wrote: > Device tree source file for the Emerson Katana Qp board > > Signed-off-by: Andrei Dolnikov <[EMAIL PROTECTED]> > > --- > arch/powerpc/boot/dts/katanaqp.dts | 357 > + 1 files changed, 357 > insertion

Re: [PATCH 4/5] PowerPC 74xx: Katana Qp base support

2007-11-21 Thread Vitaly Bordug
Hi Andrei, Looks okay in general, some notes below... On Fri, 16 Nov 2007 19:31:16 +0300 Andrei Dolnikov wrote: > Emerson Katana Qp platform specific code > > Signed-off-by: Andrei Dolnikov <[EMAIL PROTECTED]> > > --- > arch/powerpc/platforms/embedded6xx/Kconfig|9 + > arch/powerpc/pl

[PATCH] powerpc: Fix 8xx build breakage due to _tlbie changes

2007-11-19 Thread Vitaly Bordug
My changes to _tlbie to fix 4xx unfortunately broke 8xx build in a couple of places. This fixes it. Spotted by Olof Johansson Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/mm/mem.c |2 +- arc

Re: [POWERPC] [RFC] Fix 8xx tlbie definition

2007-11-16 Thread Vitaly Bordug
On Sat, 17 Nov 2007 08:06:29 +1100 Benjamin Herrenschmidt wrote: > > On Fri, 2007-11-16 at 11:28 -0600, Josh Boyer wrote: > > Git commit e701d269aa28996f3502780951fe1b12d5d66b49 introduced an > > incorrect definition for _tlbie on PowerPC 8xx platforms. Only the > > address should be passed to t

Re: [RFC/PATCH] powerpc: Fix powerpc 32 bits resource fixup for 64 bits resources

2007-11-16 Thread Vitaly Bordug
On Fri, 16 Nov 2007 18:28:34 +1100 Benjamin Herrenschmidt wrote: > The 32bits powerpc resource fixup code uses unsigned longs to do the > offseting of resources which overflows on platforms such as 4xx where > resources can be 64 bits. > > This fixes it by using resource_size_t instead. > > Howe

Re: On-going 4xx porting

2007-11-09 Thread Vitaly Bordug
On Fri, 09 Nov 2007 16:01:41 -0600 Josh Boyer wrote: > Hi All, > > For those interested, I have a few things I'd like to focus on for > 2.6.25 in regards to the current arch/powerpc 4xx porting effort. > Below is a brief list of drivers in no particular order: > > PCI support I'll look at that s

Re: arch/powerpc/boot/wrapper broken

2007-10-27 Thread Vitaly Bordug
On Sat, 27 Oct 2007 14:42:49 +0200 Michael Buesch wrote: > It calls the "mkimage" command, which does not exist > in my $PATH. > well, mkImage is a part of u-boot and there was some talk to make it part of kernel too, since it does not take alot of place but still mandatory for a number of plat

[PATCH] 8xx: Convert mpc866ads to the new device binding.

2007-10-23 Thread Vitaly Bordug
Verified on mpc866ads. This version has muram and brg nodes added to dts to get the things work. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc866ads.dts | 156 -- arch/powerpc/p

Re: [PATCH] fs_enet: Update for API changes

2007-10-17 Thread Vitaly Bordug
api > was not being used. > Good cleanup, thanks! Jeff: this is important fix, and should be applied if possible. > These changes have been fixed, and napi is now on by default. > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> Acked-by: Vitaly Bordug <[EMAIL PROTE

Re: [UNTESTED PATCH v2] 8xx: Convert mpc866ads to the new device binding.

2007-10-16 Thread Vitaly Bordug
Hi Scott, orig one does not build (not your issue apparently): CC drivers/net/fs_enet/fs_enet-main.o drivers/net/fs_enet/fs_enet-main.c: In function `fs_enet_probe': drivers/net/fs_enet/fs_enet-main.c:1252: error: implicit declaration of function `SET_MODULE_OWNER' drivers/net/fs_enet/fs_

  1   2   >