[PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-24 Thread Valentine Barshak
This adds device-tree-aware ehci-ppc-of driver. The code is based on the ehci-ppc-soc driver by Stefan Roese <[EMAIL PROTECTED]>. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- drivers/usb/host/Kconfig |8 + drivers/usb/host/ehci

Re: [PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread David Gibson
On Tue, Sep 18, 2007 at 02:26:06PM +1000, Stephen Rothwell wrote: > On Mon, 17 Sep 2007 22:17:15 +0400 Valentine Barshak <[EMAIL PROTECTED]> > wrote: > > > > Looks like we'll need a patch that replaces asm/prom.h and > > asm/of_platform.h with linux/of.h and linux/of_platform.h > > in other drive

Re: [PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread Stephen Rothwell
On Mon, 17 Sep 2007 22:17:15 +0400 Valentine Barshak <[EMAIL PROTECTED]> wrote: > > Looks like we'll need a patch that replaces asm/prom.h and > asm/of_platform.h with linux/of.h and linux/of_platform.h > in other drivers. Yeah, but at the moment I am just stopping the infection spreading :-) --

[PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread Valentine Barshak
This adds ehci-ppc-of driver. The code is based on the ehci-ppc-soc driver by Stefan Roese <[EMAIL PROTECTED]>. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- drivers/usb/host/Kconfig |8 + drivers/usb/host/ehci-hcd.c| 16 +

Re: [PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread Valentine Barshak
Stephen Rothwell wrote: > On Mon, 17 Sep 2007 16:55:43 +0400 Valentine Barshak <[EMAIL PROTECTED]> > wrote: >> +++ linux-2.6/drivers/usb/host/ehci-ppc-of.c 2007-09-15 16:12:56.0 >> +0400 >> @@ -0,0 +1,220 @@ >> + >> +#include >> +#include > > Please use linux/of.h and linux/of_platform

Re: [PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread Josh Boyer
On Mon, 17 Sep 2007 23:28:09 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > On Mon, 17 Sep 2007 16:55:43 +0400 Valentine Barshak <[EMAIL PROTECTED]> > wrote: > > > > +++ linux-2.6/drivers/usb/host/ehci-ppc-of.c2007-09-15 > > 16:12:56.0 +0400 > > @@ -0,0 +1,220 @@ > > + > > +

Re: [PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread Stephen Rothwell
On Mon, 17 Sep 2007 16:55:43 +0400 Valentine Barshak <[EMAIL PROTECTED]> wrote: > > +++ linux-2.6/drivers/usb/host/ehci-ppc-of.c 2007-09-15 16:12:56.0 > +0400 > @@ -0,0 +1,220 @@ > + > +#include > +#include Please use linux/of.h and linux/of_platform.h instead. > +static int ehci_hcd_

[PATCH 1/3] usb: add device-tree-aware ehci driver

2007-09-17 Thread Valentine Barshak
This adds ehci-ppc-of driver. The code is based on the ehci-ppc-soc driver by Stefan Roese <[EMAIL PROTECTED]>. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- drivers/usb/host/Kconfig |8 + drivers/usb/host/ehci-hcd.c| 16 +