freebsd-skq/sys/dev/drm
ed 4efdef565f Replace all calls to minor() with dev2unit().
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
2008-09-27 08:51:18 +00:00
..
ati_pcigart.c IGP based radeon cards such as the rs485 and rs690 require that the GART table 2008-09-09 02:18:37 +00:00
drm_agpsupport.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_atomic.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_auth.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_bufs.c We should never call drm_pci_alloc() while holding locks, due the the 2008-09-09 02:05:03 +00:00
drm_context.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_dma.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_drawable.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_drv.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
drm_fops.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
drm_internal.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_ioctl.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_irq.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_linux_list.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
drm_lock.c Don't return EINVAL when trying to unlock. 2008-08-30 01:00:18 +00:00
drm_memory.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_pci.c We should never call drm_pci_alloc() while holding locks, due the the 2008-09-09 02:05:03 +00:00
drm_pciids.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_sarea.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_scatter.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_sysctl.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm_vm.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm-preprocess.sh Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
drm-subprocess.pl Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
drmP.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
i915_dma.c We should never call drm_pci_alloc() while holding locks, due the the 2008-09-09 02:05:03 +00:00
i915_drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
i915_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
i915_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
i915_irq.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
i915_mem.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
i915_suspend.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mach64_dma.c We should never call drm_pci_alloc() while holding locks, due the the 2008-09-09 02:05:03 +00:00
mach64_drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mach64_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mach64_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mach64_irq.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mach64_state.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_dma.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_irq.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_state.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
mga_ucode.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
mga_warp.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r128_cce.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r128_drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r128_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r128_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r128_irq.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r128_state.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r300_cmdbuf.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
r300_reg.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_cp.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_irq.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_mem.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_microcode.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
radeon_state.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
savage_bci.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
savage_drm.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
savage_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
savage_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
savage_state.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
sis_drm.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00
sis_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
sis_drv.h Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
sis_ds.c Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
sis_ds.h Update to DRM CVS as of 2006-04-09. The most notable new feature is the updated 2006-04-09 20:45:45 +00:00
sis_mm.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
tdfx_drv.c Update drm kernel drivers. 2008-08-23 20:59:12 +00:00
tdfx_drv.h Update DRM to CVS snapshot as of 2005-11-28. Notable changes: 2005-11-28 23:13:57 +00:00