]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: add kdump support
authorThomas Klein <osstklei@de.ibm.com>
Wed, 13 Feb 2008 15:18:33 +0000 (16:18 +0100)
committerJeff Garzik <jeff@garzik.org>
Sun, 24 Feb 2008 04:54:59 +0000 (23:54 -0500)
commit6fcf5536685249098679812b107ae89cc818259c
tree451ef826604048c9b3fd0d2362bbc9659170da6a
parent51f482928df514a27a9475a0f7f3b1c7eed65d4c
ehea: add kdump support

This patch adds kdump support to the ehea driver. As the firmware doesn't free
resource handles automatically, the driver has to run an as simple as possible
free resource function in case of a crash shutdown. The function iterates over
two arrays freeing all resource handles which are stored there. The arrays are
kept up-to-date during normal runtime. The crash handler fn is triggered by the
recently introduced PPC crash shutdown reg/unreg functions.

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c