powerpc/pseries: Add support for ibm,req#msi-x
commit3a51c0cbea947dc9194e18f11661eaa4dbfc5c13
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 22 Jan 2009 20:54:31 +0000 (22 20:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Feb 2009 02:38:01 +0000 (11 13:38 +1100)
tree205b2b8694ec79d915deb185f36ad57b8399b184
parente27ed698b88b3387d326e84c0bbe9f83e19c747b
powerpc/pseries: Add support for ibm,req#msi-x

Firmware encodes the number of MSI-X requested by a device in a

different property than for MSI. Pull the property name out as a
parameter and share the logic for both cases.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/msi.c