From owner-svn-src-all@FreeBSD.ORG Fri Jul 27 19:32:57 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ADA0106564A; Fri, 27 Jul 2012 19:32:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCC28FC15; Fri, 27 Jul 2012 19:32:56 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 300818855; Fri, 27 Jul 2012 21:32:46 +0200 From: Hans Petter Selasky To: Warner Losh Date: Fri, 27 Jul 2012 21:33:03 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201207271732.q6RHW1e9030262@svn.freebsd.org> In-Reply-To: <201207271732.q6RHW1e9030262@svn.freebsd.org> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <201207272133.03147.hselasky@c2i.net> Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" Subject: Re: svn commit: r238850 - head/sys/arm/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 19:32:57 -0000 On Friday 27 July 2012 19:32:01 Warner Losh wrote: > Author: imp > Date: Fri Jul 27 17:32:01 2012 > New Revision: 238850 > URL: http://svn.freebsd.org/changeset/base/238850 > > Log: > Add gadget devices. Not yet added to the child lists, but here to > keep things from bit-rotting. > > Modified: > head/sys/arm/conf/ATMEL > > Modified: head/sys/arm/conf/ATMEL > =========================================================================== > === --- head/sys/arm/conf/ATMEL Fri Jul 27 17:31:19 2012 (r238849) > +++ head/sys/arm/conf/ATMEL Fri Jul 27 17:32:01 2012 (r238850) > @@ -161,6 +161,11 @@ device ohci # OHCI USB interface > device usb # USB Bus (required) > device umass # Disks/Mass storage - Requires scbus and da > > +# USB device (gadget) support > +device at91_dci # Atmel's usb device > +device usfs # emulate a flash > +device cdce # emulate an ethernet > + > # watchdog > device at91_wdt # Atmel AT91 Watchdog Timer Hi, You also need: device usb_template For gadget mode. The configuration shown to the host is selected using: sysctl hw.usb.template=0,1,2,3, ... --HPS