Commit 5fd73374b30672dff416f6ea2fcfaaa520057a6e

Con Kolivas 2011-07-15T01:08:23

Get the device number from the thread id, not the other way around.