Change write_config so that pools are saved in priority order.
Add check to 'i' (could be considered safer)
Return error if BFL take longer then 10s
Merge branch 'master' of git@github.com:pshep/cgminer.git
Messing with BFL code
Fix return values
Merge remote-tracking branch 'upstream/master'
Scanhash split into separate functions
Some adjustment of log reporting
Added 30s BFL hashing timeout
Added idle mode
Idle is only set by pgadisable, so GPU/CPU is unaffected.
For Icarus/Ztex, in scanhash the thread is immediately set disabled then returns.
Idle mode for bitforce
Added bitforce init and shutdown.
bitforce_init closes/reopens the com port and re-initialises the unit.
Removed idle mode.
Added watchdog thread BFL temperature monitoring.
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Merge branch 'master' of git@github.com:pshep/cgminer.git

Conflicts:
	driver-bitforce.c
Added checking of work_reset while waiting for BFL to return results
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Removed idle mode... again!?
Changed work_reset rate to every 100ms & use defines rather than numerics.
Change total sleep time to 4300ms after performance testing/measurement (now good to 916MH/s).
Changed timeout to 15s - Throttle time is 15s.
Added support for 'Busy' when submitting work.
Improved logging text to include device identifier.
Added a thread_enable api function, called when a thread is re-enabled.
... and removed useless re-init inside scanhash.
Use modminer introduced mutex.
Simple auto sleep-time calibration.
Optimises the sleep time while waiting for the BFL work to finish.
Takes ~5 mins to settle to the correct time for each unit, then will continue to make adjustments.