commit | d2f2b42f1d206fd248ada48ce2c498e31351ab33 | [log] [tgz] |
---|---|---|
author | Eric Anholt <anholt@freebsd.org> | Thu Aug 08 21:23:46 2002 +0000 |
committer | Eric Anholt <anholt@freebsd.org> | Thu Aug 08 21:23:46 2002 +0000 |
tree | 318d984dcd9a1530e15dcccbbb39753c5fc635ca | |
parent | 977b420d5dc66db3d4335132861a1eff3747b49a [diff] |
Try to open the /dev/dri/cardX device once, then only if it fails check the device number and recreate it if necessary. Fixes xf86drm.c to allow linux binaries to be used for emulation on FreeBSD.