CVSROOT: /cvs
Module name: src
Changes by: [EMAIL PROTECTED] 2008/11/16 17:26:02
Modified files:
sys/dev/pci/drm: drmP.h drm_drv.c i915_drm.h i915_drv.c
mach64_drv.c mga_drv.c r128_drv.c radeon_drv.c
savage_drv.c sis_drv.c tdfx_drv.c
Log message:
rework how we handle ioctls.
Before it was based on a static array with flags. Instead, let the
driver provide an ioctl callback, which deals with things appropriately.
Makes the code a bit easier to read, and also drops just over 5k on an
amd64 kernel build with all drm drivers enabled.
Tested by a few.