ChangeSet 1.2181.4.10, 2005/03/17 17:33:24-08:00, [EMAIL PROTECTED]

        [PATCH] USB: usb gadget kconfig tweaks
        
        This makes two small changes to the gadget Kconfig.
        
         - It removes SA-1100 support ... if anyone gets around to
           finishing that controller driver, it could go back, but
           until then there's no real point.
        
         - The "dummy_hcd" moves to the end, with a comment to please
           keep it there.
        
        Moving that Kconfig entry helps keep "real hardware" as the default
        on systems that have it ... otherwise Kconfig will surprise people
        with a curious default.
        
        Signed-off-by: David Brownell <[EMAIL PROTECTED]>
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



 Kconfig |   75 +++++++++++++++++++++++++++-------------------------------------
 1 files changed, 32 insertions(+), 43 deletions(-)


diff -Nru a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
--- a/drivers/usb/gadget/Kconfig        2005-03-30 15:06:14 -08:00
+++ b/drivers/usb/gadget/Kconfig        2005-03-30 15:06:14 -08:00
@@ -135,21 +135,6 @@
        depends on USB_GADGET_GOKU
        default USB_GADGET
 
-# this could be built elsewhere (doesn't yet exist)
-config USB_GADGET_SA1100
-       boolean "SA 1100"
-       depends on ARCH_SA1100
-       help
-          Intel's SA-1100 is an ARM-4 processor with an integrated
-          full speed USB 1.1 device controller.
-
-          It has two fixed-function endpoints, as well as endpoint
-          zero (for control transfers).
-
-config USB_SA1100
-       tristate
-       depends on USB_GADGET_SA1100
-       default USB_GADGET
 
 config USB_GADGET_LH7A40X
        boolean "LH7A40X"
@@ -163,34 +148,6 @@
        default USB_GADGET
 
 
-config USB_GADGET_DUMMY_HCD
-       boolean "Dummy HCD (DEVELOPMENT)"
-       depends on USB && EXPERIMENTAL
-       select USB_GADGET_DUALSPEED
-       help
-         This host controller driver emulates USB, looping all data transfer
-         requests back to a USB "gadget driver" in the same host.  The host
-         side is the master; the gadget side is the slave.  Gadget drivers
-         can be high, full, or low speed; and they have access to endpoints
-         like those from NET2280, PXA2xx, or SA1100 hardware.
-         
-         This may help in some stages of creating a driver to embed in a
-         Linux device, since it lets you debug several parts of the gadget
-         driver without its hardware or drivers being involved.
-         
-         Since such a gadget side driver needs to interoperate with a host
-         side Linux-USB device driver, this may help to debug both sides
-         of a USB protocol stack.
-
-         Say "y" to link the driver statically, or "m" to build a
-         dynamically linked module called "dummy_hcd" and force all
-         gadget drivers to also be dynamically linked.
-
-config USB_DUMMY_HCD
-       tristate
-       depends on USB_GADGET_DUMMY_HCD
-       default USB_GADGET
-
 config USB_GADGET_OMAP
        boolean "OMAP USB Device Controller"
        depends on ARCH_OMAP
@@ -221,6 +178,38 @@
           later, when two dual-role devices talk to each other.
 
           Select this only if your OMAP board has a Mini-AB connector.
+
+
+config USB_GADGET_DUMMY_HCD
+       boolean "Dummy HCD (DEVELOPMENT)"
+       depends on USB && EXPERIMENTAL
+       select USB_GADGET_DUALSPEED
+       help
+         This host controller driver emulates USB, looping all data transfer
+         requests back to a USB "gadget driver" in the same host.  The host
+         side is the master; the gadget side is the slave.  Gadget drivers
+         can be high, full, or low speed; and they have access to endpoints
+         like those from NET2280, PXA2xx, or SA1100 hardware.
+         
+         This may help in some stages of creating a driver to embed in a
+         Linux device, since it lets you debug several parts of the gadget
+         driver without its hardware or drivers being involved.
+         
+         Since such a gadget side driver needs to interoperate with a host
+         side Linux-USB device driver, this may help to debug both sides
+         of a USB protocol stack.
+
+         Say "y" to link the driver statically, or "m" to build a
+         dynamically linked module called "dummy_hcd" and force all
+         gadget drivers to also be dynamically linked.
+
+config USB_DUMMY_HCD
+       tristate
+       depends on USB_GADGET_DUMMY_HCD
+       default USB_GADGET
+
+# NOTE:  Please keep dummy_hcd LAST so that "real hardware" appears
+# first and will be selected by default.
 
 endchoice
 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to