kernel-ark/drivers
Dave Airlie 22eae947bf drm: rename driver hooks more understandably
Rename the driver hooks in the DRM to something a little more understandable:
preinit         ->      load
postinit        ->      (removed)
presetup        ->      firstopen
postsetup       ->      (removed)
open_helper     ->      open
prerelease      ->      preclose
free_filp_priv  ->      postclose
pretakedown     ->      lastclose
postcleanup     ->      unload
release         ->      reclaim_buffers_locked
version         ->      (removed)

postinit and version were replaced with generic code in the Linux DRM (drivers
now set their version numbers and description in the driver structure, like on
BSD).  postsetup wasn't used at all.  Fixes the savage hooks for
initializing and tearing down mappings at the right times.  Testing involved at
least starting X, running glxgears, killing glxgears, exiting X, and repeating.

Tested on:      FreeBSD (g200, g400, r200, r128)
                Linux (r200, savage4)

From: Eric Anholt <anholt@freebsd.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2005-11-10 22:16:34 +11:00
..
acorn
acpi [PATCH] sched: resched and cpu_idle rework 2005-11-09 07:56:33 -08:00
atm
base
block
bluetooth
cdrom
char drm: rename driver hooks more understandably 2005-11-10 22:16:34 +11:00
connector
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon
i2c
ide [PATCH] ide-floppy: software eject not working with LS-120 drive 2005-11-10 00:25:15 +01:00
ieee1394
infiniband
input
isdn
macintosh
mca
md [PATCH] md: document sysfs usage of md, and make a couple of small refinements 2005-11-09 07:56:40 -08:00
media [PATCH] V4L: 926: Saa7134 alsa can only be autoloaded after saa7134 is active 2005-11-09 07:56:32 -08:00
message [PATCH] drivers/message/fusion/mptbase.c: make code static 2005-11-09 07:56:41 -08:00
mfd
misc
mmc
mtd
net Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2005-11-09 08:34:36 -08:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
rapidio
s390
sbus [SPARC] sbus rtc: implement ->compat_ioctl 2005-11-09 12:07:18 -08:00
scsi [PATCH] ide: ide-scsi fails to call idescsi_check_condition for things like "Medium not present" 2005-11-09 23:18:22 +01:00
serial
sh
sn
tc
telephony
usb
video [PATCH] drivers/video/vgastate.c: kill dead code 2005-11-09 07:56:36 -08:00
w1
zorro
Kconfig
Makefile