Generate the magic id using idgen32(). While i'm here fix the locking a
authoroga <oga@openbsd.org>
Wed, 13 Aug 2008 19:33:29 +0000 (19:33 +0000)
committeroga <oga@openbsd.org>
Wed, 13 Aug 2008 19:33:29 +0000 (19:33 +0000)
commitbd7fea75f5e9707a40449b21f1a1411132359c03
tree1f364230472756f8a92a0354a30cc8b05c72df16
parenta6fe3ca567fc25de9273c7bb92bdc57c2cb67b9f
Generate the magic id using idgen32(). While i'm here fix the locking a
bit so we don't sleep with a spinlock.

ok djm@.
sys/dev/pci/drm/drmP.h
sys/dev/pci/drm/drm_auth.c
sys/dev/pci/drm/drm_drv.c