]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/ehea/ehea_main.c
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)
commit21eee2dd1b5702f15924f18f923b2a281f0e72e8
tree451ef826604048c9b3fd0d2362bbc9659170da6a
parent8d3c202be23c5a915f7053ebd4e96f44700c6a62
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