Check that the driver properly initialised before allowing agp_acquire()
authoroga <oga@openbsd.org>
Sun, 17 Aug 2008 21:31:38 +0000 (21:31 +0000)
committeroga <oga@openbsd.org>
Sun, 17 Aug 2008 21:31:38 +0000 (21:31 +0000)
commit9d238d47f932bb30e6e7fecd4b2dc50ab4f5d857
treeff83bf08b8ff3042715caac7001b48d6b53ca651
parentbe899aa0ceaaf35c892c2ccdabfe3dd1df53a827
Check that the driver properly initialised before allowing agp_acquire()
to succeed.

Inspired by Tobias Ulmer, thanks!
sys/dev/pci/agp.c