• Jeffrey Lee's avatar
    Update to latest code from Raspberry Pi github. Improve debugging. Fix race... · eb6b48ef
    Jeffrey Lee authored
    Update to latest code from Raspberry Pi github. Improve debugging. Fix race condition that could lead to timeout callbacks inappropriately firing.
    
    Detail:
      Makefile, dwc/* - Updated to latest code from Raspberry Pi github. Tweaks specific to Broadcom hardware have been placed in BCM2835 #ifdef's to allow them to easily be identified/controlled if we need the driver to support different SoCs in future
      c/cmodule, c/dwc_common_riscos, c/port, c/softc_device, h/cmodule - Improved debugging code
      c/softc_device - Schedule timeout before starting transfer instead of after. Fixes issue where a transfer that completes inbetween dwc_otg_hcd_urb_enqueue() and callout_reset() would result in the timeout being enabled even though the transfer is already complete
      s/triggercbs - Synced with latest USBDriver version for consistency
    Admin:
      Tested on Raspberry Pi with high processor vectors
      Fixes some, if not all, stability issues
    
    
    Version 0.04. Tagged as 'DWCDriver-0_04'
    eb6b48ef
dwc_otg_attr 41.9 KB