Add more debug for failure to USB init.
Avalon usb interface should be 0.
Add an ftdi usb read macro without newline
usbutils optional (disabled by default) dev debug
usbutils/mmq fixed size usb_read default to wait for all data
Recheck select succeeds on EWOULDBLOCK for stratum.
Make raw sockets compile on windows
Merge branch 'usb'
Use TCP_NODELAY with raw sockets if !opt_delaynet
Set TCP_NODELAY for !linux for raw sockets.
Use MSG_NOSIGNAL on stratum send()
Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows.
Fix warnings on win32 build.
Set all stratum sockets to nonblocking to avoid trying to use MSG_DONTWAIT on windows.
Revert wrong patch.
Fix the problem of seting up termio of ttyUSB0 for icarus. the CSIZE
 is the mask of CS2/4/8
From: navyxliu <navy.xliu@gmail.com>
Show a different warning and loglevel for failure to resolve a URL on first or subsequent testing of stratum pool URLs.
Update the write config to properly record device entries and remove disabled option.
Support more shares to be returned for scrypt mining.
Use a scantime of 30 seconds for scrypt if none is specified.