From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id F414CB6F5C for ; Wed, 29 Jun 2011 01:12:15 +1000 (EST) Received: by fxe23 with SMTP id 23so322346fxe.15 for ; Tue, 28 Jun 2011 08:12:10 -0700 (PDT) Received: by fxe23 with SMTP id 23so322279fxe.15 for ; Tue, 28 Jun 2011 08:12:07 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 28 Jun 2011 11:12:07 -0400 Message-ID: Subject: Re: [PATCH v13 09/10] USB ppc4xx: Add Synopsys DWC OTG driver kernel configuration and Makefile From: Mike Williams To: linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset=ISO-8859-1 Cc: tmarri@apm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Apr 03, 2011 at 04:17:24PM -0700, tmarri at apm.com wrote: > +choice > + prompt "DWC Mode Selection" > + depends on USB_DWC_OTG > + default DWC_HOST_ONLY > + help > + =A0Select the DWC Core in OTG, Host only, or Device only mode. > + > +config DWC_HOST_ONLY > + bool "DWC Host Only Mode" > + > +config DWC_OTG_MODE > + bool "DWC OTG Mode" > + select USB_GADGET_SELECTED It appears this depends on host support? I get compile errors when I have this selected and no host support enabled. > + > +config DWC_DEVICE_ONLY > + bool "DWC Device Only Mode" > + select USB_GADGET_SELECTED > + > +endchoice Thanks, Mike