94 Commits (023ca6a11df9d387a5e14a6982caf329761fbc5b)

Author SHA1 Message Date
Con Kolivas 59ff31d821 Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention. 11 years ago
Kano dc85abd9cd Klondike update code to current git 11 years ago
Con Kolivas 69c01a1485 Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long. 11 years ago
Con Kolivas 0a5599844f Add magic init sequence required on BF1 devices to get them mining on windows. 11 years ago
Con Kolivas 14887ba852 usbinfo.devlock is only ever write locked so convert it to a mutex 11 years ago
Con Kolivas ff90e6ae83 usbinfo.devlock is only ever write locked so convert it to a mutex 11 years ago
Con Kolivas 303a763162 Deuglify use of usb parse commands macro in usbutils. 11 years ago
Kano d3a3b3a73d usbutils allow PrefPacketSize per endpoint 11 years ago
Con Kolivas ce16bd2ba4 Remove magic control sequences on open/close on BF1 and just flush the read buffers. 11 years ago
Con Kolivas 1f74b2cdc4 Perform interrupt read flush as per serial open on BF1 devices. 11 years ago
Con Kolivas 1a0202812a Add more read_ii variants to usbutils. 11 years ago
Con Kolivas 4f6c7ee0c1 Name remainder of BFU usb commands used. 11 years ago
Kano b932fc0ada usbutils - which_intinfo not requried 11 years ago
Kano 36d8653406 usbutils - interfaces must all be on one handle - ep implies the interface 11 years ago
Con Kolivas 435065c86b Rename BF1 devices BF1 11 years ago
Con Kolivas 55c6e55c84 Name the work request and result usb commands for BF1 11 years ago
Con Kolivas 54ac35553f Add commands for getting BF1 bitfury info 11 years ago
Con Kolivas 9a3684b809 Add magic BF1 bitfury open and close control sequences. 11 years ago
Con Kolivas 99c838965e Add bf1 device information to usbutils to enable device detection. 11 years ago
Con Kolivas 48f5ff3754 Use macro expansion to only need to define usb enums and commands in one place. 11 years ago
Kano 0f0b0f818f usbutils set_interface is no longer valid 11 years ago
Kano 166147a803 ubsutils interfaces much each have their own handle 11 years ago
Kano 00c2c3369a usbutils kernel_detach should use the interface number 11 years ago
Kano 24858de6de usbutils - allow the driver to change which_intinfo 11 years ago
Kano 67b9ee4448 usbutils specifically track handles and interfaces 11 years ago
Kano 08483717aa usbutils - allow a device to use multiple interfaces (and better var names) 11 years ago
Con Kolivas deb7be72c6 Use the reentrant cgsleep functions for usecps in usbutils. 11 years ago
Kano 96c0c31775 BTB get version from Firmware 11 years ago
Chris Chua b0f4d55be7 changes to Avalon driver for BitBurner boards 11 years ago
Kano 759ce6e7d2 usb timeouts - min/max also 11 years ago
Kano 2dffc96e3c log USB timeouts in API stats 11 years ago
Kano 4cb7cfb226 usbutils use a heap buffer for bulk read rather than stack 11 years ago
Kano 2beb30f13d bflsc get volts stats needs its own GETVOLTS 12 years ago
Kano 9ecef180d1 usbutils/icarus include more locking to usbdev access 12 years ago
Kano fc89f170a3 usbutils add delay API stats 12 years ago
Kano 527c6ee255 usbutils optional cps IO control - but not enabled 12 years ago
Con Kolivas 0cd2c5c3c8 Use the info timeout for read_nl in getidentify bflsc. 12 years ago
Con Kolivas 9246bbc603 Add a usb_read_nl_timeout macro. 12 years ago
Con Kolivas 4e155fd624 Hard code the preferred packet size for AMU, BLT and ICA. 12 years ago
Con Kolivas abdf7510c9 Reinstate the maxPacketSize determined by the end descriptor but allow the driver to override it. 12 years ago
Con Kolivas f4d74116d3 Limit USB transfers to the max size reported by the descriptors. 12 years ago
Kano d2cb412931 record and report USB pipe errors via API stats 12 years ago
Kano 84ffcbc51b Use mining start time for device MH/U calculations 12 years ago
Kano 7d35c6921e ubsutils lock all access to nodev and cgusb 12 years ago
Kano 9287ee90f6 USB control creation and free of cgpu 12 years ago
Con Kolivas 630e7d7658 Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying it tries to stay below 60. 12 years ago
Con Kolivas fd41eb4ef6 Limit usbutils LATENCY_STD to 32ms to keep transfers under 512 bytes. 12 years ago
Con Kolivas 7fc9666429 Add a usb_read_ok_timeout wrapper to cope with slow init'ing devices. 12 years ago
Kano 8478ee4436 AMU usbstatus correct name from enable UART 12 years ago
Kano a7425c6c1b Icarus AMU enable the UART 12 years ago