CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2016/10/02 00:36:39

Modified files:
        sys/arch/armv7/imx: imxehci.c 
        sys/dev/usb    : ehci.c ehcireg.h ehcivar.h 

Log message:
Save and restore the (non-standard) USBMODE register around a reset of the
controller.  This register controls whether the controller is in device or
host mode on many dual role controllers and gets reset during a reset of
the controller, placing the controller in (non-functional) idle mode.  By
saving and restoring it, we keep the controller in host mode.  Since this is
a non-standard register, add a new EHCIF_USBMODE flag and only do the save and
restore if it has been set.

Makes the upper "OTG" port of the Cubox-i work.

ok mpi@, jsg@

Reply via email to