[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/10/07 15:59:33

Modified files:
	sys/dev/pci/drm: drmP.h drm_agpsupport.c drm_bufs.c 
	                 drm_context.c drm_dma.c drm_drv.c drm_ioctl.c 
	                 drm_irq.c drm_lock.c i915_dma.c i915_drv.c 
	                 i915_drv.h mach64_drv.c mach64_drv.h 
	                 mach64_state.c mga_drv.c mga_drv.h mga_state.c 
	                 r128_drv.c r128_drv.h r128_state.c radeon_drv.c 
	                 radeon_drv.h radeon_state.c savage_bci.c 
	                 savage_drv.c savage_drv.h sis_drv.c sis_drv.h 
	                 sis_mm.c tdfx_drv.c via_dma.c via_drv.c 

Log message:
Move dev->driver over to being a pointer to a const struct, instead of stupidly
filling in a pre-allocated one on each attach.

Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64,
helps with my sanity, and paves way for later changes.

Tested by a few for a couple of weeks now.

Visit your host, monkey.org