ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): 93adca3f-6a22-45b7-a159-32bb6622efb5@shmail0
PATCH v4 1/1 ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc
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
---
drivers/usb/misc/Kconfig +4 -0
@@ -244,3 +244,7 @@ config USB_YUREX To compile this driver as a module, choose M here: the module will be called yurex. +config USB_EZUSB + tristate "Functions for loading firmware on EZUSB chips" + help + Say Y here if you need EZUSB device support.
drivers/usb/misc/Makefile +1 -0
@@ -11,6 +11,7 @@ obj-$(CONFIG_USB_CYPRESS_CY7C63) += cypress_cy7c63.o obj-$(CONFIG_USB_CYTHERM) += cytherm.o obj-$(CONFIG_USB_EMI26) += emi26.o obj-$(CONFIG_USB_EMI62) += emi62.o +obj-$(CONFIG_USB_EZUSB) += ezusb.o obj-$(CONFIG_USB_FTDI_ELAN) += ftdi-elan.o obj-$(CONFIG_USB_IDMOUSE) += idmouse.o obj-$(CONFIG_USB_IOWARRIOR) += iowarrior.o
drivers/usb/misc/ezusb.c renamed from drivers/usb/serial/ezusb.c +0 -0
drivers/usb/serial/Kconfig +0 -5
@@ -42,11 +42,6 @@ config USB_SERIAL_CONSOLE If unsure, say N. -config USB_EZUSB - bool "Functions for loading firmware on EZUSB chips" - help - Say Y here if you need EZUSB device support. - config USB_SERIAL_GENERIC bool "USB Generic Serial Driver" help
drivers/usb/serial/Makefile +0 -1
@@ -9,7 +9,6 @@ obj-$(CONFIG_USB_SERIAL) += usbserial.o usbserial-y := usb-serial.o generic.o bus.o usbserial-$(CONFIG_USB_SERIAL_CONSOLE) += console.o -usbserial-$(CONFIG_USB_EZUSB) += ezusb.o obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o obj-$(CONFIG_USB_SERIAL_ARK3116) += ark3116.o
Quoted 4 lines · Rene Buergel
This patch moves
drivers/usb/serial/ezusb.ctodrivers/usb/misc/andadapts Makefiles and Kconfigs switching from bool to tristate forCONFIG_USB_EZUSBSigned-off-by René Bürgel <[email protected]>
Ok, I get the same problem as I reported before:
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_download" [drivers/usb/serial/keyspan.ko] undefined!
What I did was:
- build the kernel without this patch.
- apply the patch
- run make to build the kernel again.
Something isn't getting rebuilt properly, and this is going to hit lots of other kernel developers, so I can't take this as-is.
I've attached my .config file below, maybe something there can help with figuring it out?
thanks,
greg k-h
Quoted 14 lines
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_download" [drivers/usb/serial/keyspan.ko] undefined!What I did was:
- build the kernel without this patch.
- apply the patch
- run make to build the kernel again.
Quoted 5 lines
Something isn't getting rebuilt properly, and this is going to hit lots of other kernel developers, so I can't take this as-is.
I've attached my .config file below, maybe something there can help with figuring it out?
thanks!
i managed to reproduce the error with your config.
I'm still trying to figure out why my config worked fine and how to fix this...
This might take me a while.
René Bürgel