USB_GADGET is still selectable even with USB disabled. It seems the following is intended:
This is wrong.
CONFIG_USB has always represented the master/host side ... while CONFIG_USB_GADGET represents just the slave/gadget side.
The two are completely independent. Hardware that supports one will typically _not_ support the other. And systems that support the slave/gadget side will have no use at all for the 100KB+ of "usbcore".
If you want CONFIG_USB_GADGET to depend on USB, then you're going to need to change the meaning of CONFIG_USB so that it becomes just an "umbrella" ... and change EVERYTHING that currently depends on CONFIG_USB to depend on some new config varaible representing just the host side (which also depends on CONFIG_USB). That sort of change seems pointless.
--- linux-2.5.70-mm3/drivers/usb/gadget/Kconfig.old 2003-06-01 00:15:30.000000000 +0200 +++ linux-2.5.70-mm3/drivers/usb/gadget/Kconfig 2003-06-01 00:15:49.000000000 +0200 @@ -8,7 +8,7 @@ # menuconfig USB_GADGET tristate "Support for USB Gadgets" - depends on EXPERIMENTAL + depends on USB && EXPERIMENTAL help USB is a master/slave protocol, organized with one master host (such as a PC) controlling up to 127 peripheral devices.
cu Adrian
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel