svn commit: r238850 - head/sys/arm/conf
Hans Petter Selasky
hselasky at c2i.net
Fri Jul 27 19:32:57 UTC 2012
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
More information about the svn-src-all
mailing list