- 04 Jul, 2020 1 commit
-
-
Robert Sprowson authored
Don't predefine paddr_t this will clash with USBDriver-1_31. Use symbolic names for HAL calls. Version 0.36. Tagged as 'MUSBDriver-0_36'
-
- 27 Jan, 2018 1 commit
-
-
ROOL authored
Detail: Ensure the returned status is defined if USBDriver_InsertTransfer fails (because USBDriver has gone). See similar in DWCDriver-0_34. Version 0.35. Tagged as 'MUSBDriver-0_35'
-
- 25 Nov, 2017 1 commit
-
-
ROOL authored
Detail: HSHUBSTT use 12 (see DWCDriver-0_33). Admin: Found by pattern matching. Version 0.34. Tagged as 'MUSBDriver-0_34'
-
- 18 Nov, 2017 1 commit
-
-
ROOL authored
Detail: Add missing logprintf(). Admin: Submission for USB bounty. Version 0.33. Tagged as 'MUSBDriver-0_33'
-
- 23 Sep, 2017 2 commits
-
-
ROOL authored
Detail: Simplify the makefile by not building a HAL variant. cmodule.c: 2 fewer warnings musb.c/musb_debug.c/musb_peri.c/musb_root.c/musb_util.c/tps.c: remove usbhal.h include cmodule.h/musb_usb.c: USBHAL is no longer defined CMHG file changed to make Makefile Admin: Submission for USB bounty. Version 0.32. Tagged as 'MUSBDriver-0_32'
-
ROOL authored
Detail: port.c -> bsd_fns.c, and use the copy from EHCI/OHCI driver, minus the bus access functions not needed here. Admin: Submission for USB bounty. Not tagged, part 2 follows shortly.
-
- 19 Aug, 2017 1 commit
-
-
ROOL authored
Detail: Use those in C:USB rather than reaching inside the adjacent USBDriver. Admin: Requires USBDriver-1_21. Version 0.31. Tagged as 'MUSBDriver-0_31'
-
- 15 Jul, 2017 1 commit
-
-
ROOL authored
Admin: Reach into USBDriver rather than NetBSD. Version 0.30. Tagged as 'MUSBDriver-0_30'
-
- 18 Dec, 2016 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb_hal - Add a dummy messages_file_lookup implementation for use with HAL builds of the code (as required by musb_peri.c / musb_root.c) Admin: Tested on BB-xM Version 0.29. Tagged as 'MUSBDriver-0_29'
-
- 17 Dec, 2016 2 commits
-
-
ROOL authored
Detail: Add support for standalone messages registration, and actually use the messages rather than just exporting them in ROM builds. Changed to use allocated error bases rather than 0. Sync with other HC for ease of comparison where possible. Admin: Submission for USB bounty. Tested on a BBxM. Version 0.28. Tagged as 'MUSBDriver-0_28'
-
ROOL authored
Admin: Fewer depends. Not tagged.
-
- 10 Dec, 2016 1 commit
-
-
ROOL authored
Admin: Requires NetBSD-1_17
-
- 02 May, 2016 1 commit
-
-
Robert Sprowson authored
Found by pattern matching, this is the same change as DWCDriver-0_27. Version 0.27. Tagged as 'MUSBDriver-0_27'
-
- 26 Mar, 2016 1 commit
-
-
Jeffrey Lee authored
Detail: c/port - Less code, less bugs Admin: Builds, untested Version 0.26. Tagged as 'MUSBDriver-0_26'
-
- 18 Nov, 2015 1 commit
-
-
Robert Sprowson authored
Copy of the change in NetBSD-1_09. Version 0.25. Tagged as 'MUSBDriver-0_25'
-
- 15 Nov, 2015 1 commit
-
-
ROOL authored
Detail: Play safe, put NULLs in for the unused HC overrides Version 0.24. Tagged as 'MUSBDriver-0_24'
-
- 21 Aug, 2015 1 commit
-
-
Robert Sprowson authored
cmodule.c: Use USBDriver.h from interface exports Makefile: Remove duplicated libs from debug build Remove relative reference to NetBSD component from VPATH !MkDebug: Select debug target so the right compiler switches are used musb.c/musb_debug.c/musb_peri.c/musb_root.c/musb_usb.c/musb_util.c/tps.c: Unused reference to USBDriver.h removed Built, but not tested. Version 0.23. Tagged as 'MUSBDriver-0_23'
-
- 01 Jun, 2014 1 commit
-
-
Jeffrey Lee authored
Detail: c/cmodule - Don't use NetBSD/build/service.h, it no longer exists. Use the exported USB/USBDevFS.h instead. Fix service call reason codes to use USBDevFS names. c/musb, c/musb_debug, c/musb_hal, c/musb_peri, c/musb_root, c/musb_usb, c/musb_util, c/tps - Strip redundant #includes Admin: Tested in OMAP3 ROM build Build output is binary-identical to previous version Requires NetBSD-0_85 Version 0.22. Tagged as 'MUSBDriver-0_22'
-
- 27 May, 2014 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb - Updated musb_ep0_host() to treat a short control packet as the end of the transfer, as mandated by the USB spec. Also updated a few other pieces of code to ensure the transfer length is reported correctly if an error occurs. c/cmodule - Fix potential null pointer dereference when debugging enabled Makefile - Fix lack of DPRINTF() debug output in debug builds due to USB_DEBUG not being defined Admin: Tested on BB-xM with high processor vectors Fixes 99% of connected devices failing to initialise following the change to the device initialisation logic made to USBDriver in NetBSD-0_82 (initial device descriptor requests now request more data than is likely to be available, triggering a short packet/xfer response) Version 0.21. Tagged as 'MUSBDriver-0_21'
-
- 06 May, 2014 1 commit
-
-
Robert Sprowson authored
Version 0.20. Tagged as 'MUSBDriver-0_20'
-
- 30 Mar, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: c/cmodule - Added a re-entrancy check to USBDriver registration, to avoid any shenanigans if we receive "USBDriver has started" service calls while in the middle of registering Admin: Tested on BB-xM Doesn't fix any known MUSBDriver-related issue, but is the same fix as was made to DWCDriver after the above-mentioned problem was found to be the cause of a hang on boot in recent Pi ROMs Version 0.19. Tagged as 'MUSBDriver-0_19'
-
- 23 Sep, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: c/tps - Added some extra PHY initialisation steps that are needed to get things working on Pandora Admin: Tested on Pandora Version 0.18. Tagged as 'MUSBDriver-0_18'
-
- 06 Jun, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: Makefile, !MkDebug,fd7 - Debug version of module can now be built just by passing "DEBUG=TRUE" to amu c/cmodule, c/musb_hal - Only accept USB controllers if HAL_USBControllerInfo says the struct size is an exact match with what we expect s/bufman - Delete unused file s/call_veneer, s/triggercbs - Use Entry/EXIT macros to avoid single-reg LDM/STM performance warnings. Convert tabs to spaces. Admin: Tested on rev A2 BB-xM Version 0.17. Tagged as 'MUSBDriver-0_17'
-
- 04 Dec, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb_root - Fixed device descriptor and config descriptor reads writing outside the destination buffer if the buffer was small enough. Admin: Tested in OMAP3 ROM Version 0.16. Tagged as 'MUSBDriver-0_16'
-
- 22 Aug, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb_peri, c/musb_root - Fixed some code in the root hub emulation that was writing to a global struct before copying it into the destination buffer. Although this works fine in ROM modules, it was causing data aborts in the HAL build due to lack of automatic RW data relocation by the compiler. c/musb - Removed reference to an old extern variable Admin: Tested on rev C2 BB Version 0.15. Tagged as 'MUSBDriver-0_15'
-
- 05 Aug, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/cmodule - Rework driver init/shutdown code to avoid null pointer dereference during Service_PreReset/USBDriver_Dying c/port - Removed ability to cancel transfers by pressing escape. Too dangerous for things like mass storage devices, and the code won't work anyway for the common case of being in the wimp s/triggercbs - Try using OS_ReadSysInfo 6 to get IRQsema ptr before falling back on legacy address Admin: Tested on rev A2 BB-xM Version 0.14. Tagged as 'MUSBDriver-0_14'
-
- 11 Jul, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb, c/musb_debug, h/musb - Fixed NAK timeouts to not be treated as errors. Attempted to make use of NAK timeouts for yielding to other pending transfers, but ran into difficulties getting the timeout condition to clear properly. Disabling NAK intervals/timeouts entirely seems to be the safest option for now. Admin: Tested on rev C2 BB, rev A2 BB-xM Version 0.13. Tagged as 'MUSBDriver-0_13'
-
- 22 May, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: Makefile - Now builds a HAL-compatible static library during the export libs phase !MkHAL,fd7 - Handy script for building the HAL lib c/musb_hal - HAL version of cmodule.c c/musb, c/musb_debug, c/musb_peri, c/musb_root, c/musb_usb, c/musb_util, c/tps, h/cmodule, h/musb, h/musb_util, h/tps - Changed to support the HAL build. Biggest change was getting rid of all global vars; everything is now done via the bus ptr instead. c/port - Removed microtime and moved riscos_irq_clear here, to match change made in main USB drivers Admin: HAL & non-HAL versions tested on rev C2 BB, rev A2 BB-xM, rev C1 TouchBook Needs latest Kernel & NetBSD USB drivers Version 0.12. Tagged as 'MUSBDriver-0_12'
-
- 11 Apr, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb_debug - New file containing debug code. c/musb_peri - Contains the code for handling peripheral mode, taken from c/musb c/musb_root - Contains the code for handling the USBDriver-required 'soft' hub, taken from c/musb c/musb_usb - Contains initialisation code and other misc USBDriver-related code, mostly taken from c/musb c/musb_util - Misc utility functions from c/musb h/musb_util, h/musb_usb - A couple of new header files to help with breaking things up. Might make sense to break h/musb_usb down further (or just consolidate everything back into h/musb) c/musb - Stripped out pretty much everything except code related to host-mode endpoint and interrupt handling. Instances of the new musb_multiplexer struct are used to handle endpoint allocation, and allocation is now performed on a per-usbd_xfer basis instead of on a per-pipe basis. This should allow the code to cope better with situations where the number of pipes is greater than the number of physical endpoints, although much work is still required. c/cmodule, c/port, c/tps, h/cmodule, h/musb - Misc tweaks and changes Admin: Tested on rev A2 BB-xM. Version 0.11. Tagged as 'MUSBDriver-0_11'
-
- 08 Feb, 2011 1 commit
-
-
Steve Revill authored
This component doesn't have any exported headers so this change will stop build errors during the header export phase. Version 0.10. Tagged as 'MUSBDriver-0_10'
-
- 14 Sep, 2010 1 commit
-
-
Jeffrey Lee authored
Version 0.09. Tagged as 'MUSBDriver-0_09'
-
- 14 Aug, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: Makefile - rewritten to use CModule fragment instead of deprecated RAMCModule & ROMCModule fragments. Link stage also outputs symbol table to aid in debugging. c/cmodule, c/musb, h/musb - Add code to handle transfer timeouts c/musb - Fix a couple of compiler warnings, including a bug in root hub handling Admin: Tested on rev C2 beagleboard. Machine no longer hangs on boot with hub + keyboard connected to OTG port, but keyboard often fails to initialise and needs to be *USBReset or re-plugged. Version 0.08. Tagged as 'MUSBDriver-0_08'
-
- 22 Jul, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: c/cmodule - Now uses USBDriver_Version to check USBDriver version number, and passes API version to USBDriver when calling USBDriver_RegisterBus to allow USBDriver to perform its side of the checks Admin: Tested on rev C2 beagleboard Version 0.07. Tagged as 'MUSBDriver-0_07'
-
- 28 Jun, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: c/musb, h/musb - Added support for USBD_FORCE_SHORT_XFER flag. Also tidied the source a bit to use bools instead of ints for storing flags. c/tps, cmhg/modhead - Made OTG cable detection 100% reliable by getting rid of the USB_PRES interrupt code and instead using a ticker event to poll the STS_HW_CONDITIONS.STS_USB bit at regular intervals Admin: Tested on rev C2 beagleboard Version 0.06. Tagged as 'MUSBDriver-0_06'
-
- 20 Oct, 2009 1 commit
-
-
Jeffrey Lee authored
Detail: Allocation of bulk/interrupt endpoints has now been fixed so that two pipes won't end up claiming the same endpoint if the endpoint is idle at the time the second pipe searches for a free endpoint. Connecting multiple devices which rely on bulk endpoints (e.g. a mass storage device and a USB-LAN adaptor) now works properly. musb_receive_host() has also been fixed to deal with short packets properly, so devices which rely on them (e.g. USB-LAN adaptors) should now work properly. Admin: Tested on rev C2 beagleboard. Version 0.05. Tagged as 'MUSBDriver-0_05'
-
- 19 Oct, 2009 1 commit
-
-
Jeffrey Lee authored
Detail: The host_ep0_queue structure wasn't being initialised properly, leading to the driver failing to properly queue USB control transactions when acting in host mode. This fix should fix a number of serious soft-lock issues that can occur when using the driver (seen so far with USB mass storage devices) Admin: Tested on rev C2 beagleboard Version 0.04. Tagged as 'MUSBDriver-0_04'
-
- 02 Oct, 2009 1 commit
-
-
Jeffrey Lee authored
Fix MUSBDriver so compiled module has correct date + version, fix assembler veneer setup code to sync the caches properly Detail: cmhg/modhead - Now corrected so that the module is built with the correct version number & date, taken from the VersionNum file c/cmodule, s/call_veneer - init_veneer and build_veneer fixed to call OS_SyncrhoniseCodeAreas after creating the veneers Admin: Tested on rev C2 beagleboard Version 0.03. Tagged as 'MUSBDriver-0_03'
-
- 28 Sep, 2009 1 commit
-
-
Jeffrey Lee authored
Version 0.02. Not tagged
-
- 06 Sep, 2009 1 commit
-
-
Jeffrey Lee authored
Detail: c/tps, h/tps, Makefile - Some rather rough code to wake up the MUSB controller and cause it to enter host mode when the OTG cable is detected. Needs some tidying up and improvement to deal with any other drivers that need to interact with the TWL/TPS. c/musb, h/musb - Initial host-mode support for MUSBDriver. Control, bulk & interrupt endpoints are implemented. Isochronous is not. Lots of bits need improving, but it's stable enough for owners of rev B beagleboards to make use of. cmhg/modhead, c/cmodule - Improved debugging code Admin: Tested on rev C2 beagleboard Version 0.02. Tagged as 'MUSBDriver-0_02'
-
- 07 Jul, 2009 1 commit
-
-
Jeffrey Lee authored
Detail: Makefile - updated so o.musb depends upon h.modhead Admin: Tested on rev C2 beagleboard following clean OMAP3 ROM build Version 0.01. Not tagged
-