Re: [PATCH] ezusb: add dependency to USB

2012-11-25 Thread Rene Buergel
- Ursprüngliche Mail - > On Thu, Nov 22, 2012 at 07:10:50PM +0100, Rene Buergel wrote: > > This fixes an error during modpost, when ezusb is built into the > > kernel while USB is built as module. > thanks for the fix, I'll queue it up for 3.8 > and > backp

[PATCH] ezusb: add dependency to USB

2012-11-22 Thread Rene Buergel
This fixes an error during modpost, when ezusb is built into the kernel while USB is built as module. Signed-off-by: René Bürgel -- diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index a8f0523..fecde69 100644 --- a/drivers/usb/misc/Kconfig +++ b/drivers/usb/misc/Kconfig @@ -246

Re: [Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Rene Buergel
> Also, does the code in fact support only FX2, neither older chips nor > newer FX3? It also does support the FX(1), but not FX3. At first sight, it looks like FX3 got another register interface. > If FX is also supported then perhaps still rename the option, > although I think renaming is unrel

[Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Rene Buergel
This patch - moves drivers/usb/serial/ezusb.c to drivers/usb/misc/ - renamed CONFIG_USB_EZUSB to CONFIG_USB_EZUSB_FX2 to avoid build errors - adapts Makefiles and Kconfigs switching from bool to tristate for CONFIG_USB_EZUSB_FX2 Signed-off-by: René Bürgel --- diff --git a/drivers/usb/misc/Kconf

Re: [Patch v4] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-24 Thread Rene Buergel
> ERROR: "ezusb_fx1_ihex_firmware_download" > [drivers/usb/serial/whiteheat.ko] undefined! > ERROR: "ezusb_fx1_ihex_firmware_download" > [drivers/usb/serial/keyspan_pda.ko] undefined! > ERROR: "ezusb_fx1_set_reset" [drivers/usb/serial/keyspan_pda.ko] > undefined! > ERROR: "ezusb_fx1_ihex_firmware_d

[Patch v4] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-19 Thread Rene Buergel
This patch moves drivers/usb/serial/ezusb.c to drivers/usb/misc/and adapts Makefiles and Kconfigs switching from bool to tristate for CONFIG_USB_EZUSB Signed-off-by: René Bürgel --- diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index 1bfcd02..1c63b54 100644 --- a/drivers/usb/m

Re: USB: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-19 Thread Rene Buergel
> I get the following build errors with > this patch applied: > > ERROR: "ezusb_fx1_ihex_firmware_download" > [drivers/usb/serial/whiteheat.ko] undefined! > ERROR: "ezusb_fx1_ihex_firmware_download" > [drivers/usb/serial/keyspan_pda.ko] undefined! > ERROR: "ezusb_fx1_set_reset" [drivers/usb/serial

Re: [PATCH v3 3/3]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-18 Thread Rene Buergel
This patch moves drivers/usb/serial/ezusb.c to drivers/usb/misc/and adapts Makefiles and Kconfigs Signed-off-by: René Bürgel --- diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index 1bfcd02..1c63b54 100644 --- a/drivers/usb/misc/Kconfig +++ b/drivers/usb/misc/Kconfig @@ -244,3 +

Re: [PATCH v3 2/3]: ezusb: add functions for firmware download

2012-09-18 Thread Rene Buergel
This patch adds new functions to upload firmware to the controller. The drivers currently using ezusb are adapted to use these new functions. This also fixes a bug occuring during firmware loading in the whiteheat-driver: The driver iterates over an ihex-formatted firmware using ++ on a "const

Re: [PATCH v3 1/3]: ezusb: add support for Cypress FX2LP

2012-09-18 Thread Rene Buergel
This Patch adds support for the newer Cypress FX2LP. It also adapts three drivers currently using ezusb to the interface change. (whiteheat and keyspan[_pda]) Signed-off-by: René Bürgel --- diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 3048b52d..351988d 100644 --- a

[PATCH v3 0/3]: ezusb FX2 support, firmware downloading support

2012-09-17 Thread Rene Buergel
Hello, this is v3 of a patches-series for controllers using the ezusb-functions. euzsb: add support for Cypress FX2LP ezusb: add functions for firmware download ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc -- René Bürgel SOHARD Embedded Systems GmbH -- To unsubscribe from thi

Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-13 Thread Rene Buergel
> Also, why move it? Are there other modules that need to use it? Fullquote from Aug, 24: > > > > - Although i removed the dependency from ezusb to usb_serial, > > > > ezusb.c still resides in drivers/usb/serial. > > > > Can you give me a hint, where to put it instead? > > > > I would like

Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-13 Thread Rene Buergel
> Git should show this as a move, not as a "add a file and remove a > file" > type patch. Are you generating it properly? Whats the proper way to do this? I did a git mv, git commit and than git diff on that commit hash. > Also, why move it? Are there other modules that need to use it? > > t

Re: [PATCH v2 0/4]: ezusb cleanup, FX2 support, firmware downloading support

2012-09-13 Thread Rene Buergel
please ignore this thread, i'm still new to this mailing list stuff :/ I'll do my best to avoid such noise in the future - Ursprüngliche Mail - > Hello, > > this is V2 of a patches-series for controllers using the > ezusb-functions. > > ezusb: remove dependency to usb_serial interface >

Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-13 Thread Rene Buergel
This patch moves drivers/usb/serial/ezusb.c to drivers/usb/misc/and adapts Makefiles and Kconfigs Signed-off-by: René Bürgel -- diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index 1bfcd02..1c63b54 100644 --- a/drivers/usb/misc/Kconfig +++ b/drivers/usb/misc/Kconfig @@ -244,3 +2

Re: [PATCH v2 3/4]: add functions for firmware download

2012-09-13 Thread Rene Buergel
This patch adds new functions to upload firmware to the controller. The drivers currently using ezusb are adapted to use these new functions. This also fixes a bug occuring during firmware loading in the whiteheat-driver: The driver iterates over an ihex-formatted firmware using ++ on a "const

[PATCH v2 2/4]: add support for Cypress FX2LP

2012-09-13 Thread Rene Buergel
This Patch adds support for the newer Cypress FX2LP. It also adapts three drivers currently using ezusb to the interface change. (whiteheat and keyspan[_pda]) Signed-off-by: René Bürgel -- diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 3048b52d..351988d 100644 --- a/

[PATCH v2 1/4]: ezusb cleanup, FX2 support, firmware downloading support

2012-09-13 Thread Rene Buergel
This patch removes the dependency on the usb_serial interface and names some magic constants Signed-off-by: René Bürgel -- diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 800e8eb..3048b52d 100644 --- a/drivers/usb/serial/ezusb.c +++ b/drivers/usb/serial/ezusb.c @@ -9,2

[PATCH v2 0/4]: ezusb cleanup, FX2 support, firmware downloading support

2012-09-13 Thread Rene Buergel
Hello, this is V2 of a patches-series for controllers using the ezusb-functions. ezusb: remove dependency to usb_serial interface euzsb: add support for Cypress FX2LP ezusb: add functions for firmware download ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc -- René Bürgel SOHARD

[PATCH 1/4]: ezusb: remove dependency to usb_serial interface

2012-09-13 Thread Rene Buergel
This patch removes the dependency on the usb_serial interface and names some magic constants Signed-off-by: René Bürgel -- diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 800e8eb..3048b52d 100644 --- a/drivers/usb/serial/ezusb.c +++ b/drivers/usb/serial/ezusb.c @@ -9,2

Re: [PATCH v2 0/4]: ezusb cleanup, FX2 support, firmware downloading support

2012-09-13 Thread Rene Buergel
This patch removes the dependency on the usb_serial interface and names some magic constants Signed-off-by: René Bürgel -- diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 800e8eb..3048b52d 100644 --- a/drivers/usb/serial/ezusb.c +++ b/drivers/usb/serial/ezusb.c @@ -9,2

[PATCH v2 0/4]: ezusb cleanup, FX2 support, firmware downloading support

2012-09-13 Thread Rene Buergel
Hello, this is V2 of a patches-series for controllers using the ezusb-functions. ezusb: remove dependency to usb_serial interface euzsb: add support for Cypress FX2LP ezusb: add functions for firmware download ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc -- René Bürgel SOHA

Re: [PATCH 0/3]: ezusb cleanup, FX2 support, firmware downloading support

2012-08-22 Thread Rene Buergel
> > - Although i removed the dependency from ezusb to usb_serial, > > ezusb.c still resides in drivers/usb/serial. > > Can you give me a hint, where to put it instead? > > I would like to do that with an additional patch. > > Why do you want to move it? because is has nothing to do with an

Re: [PATCH 0/3]: ezusb cleanup, FX2 support, firmware downloading support

2012-08-20 Thread Rene Buergel
- Ursprüngliche Mail - > On Fri, Aug 03, 2012 at 05:06:27PM +0200, René Bürgel wrote: > > Hello, > > > > this is a patches-series for controllers using the ezusb-functions. > > > > ezusb: remove dependency to usb_serial interface > > euzsb: add support for Cypress FX2LP > > ezusb: add fu