Add locking around the global resource stuff, and change the way IMQ devices are allocated unti Dave fixes the driver.
Add locking around the global resource stuff, and change the way IMQ
devices are allocated unti Dave fixes the driver.

nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome