From: Ben Dooks Date: Tue, 13 Jun 2006 22:47:19 +0000 (+0100) Subject: [PATCH] DM9000 - better checks for platform resources X-Git-Tag: v2.6.18-rc1~457^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ed03ff12e4bf228aaf15b2a364134348ebe8a9;p=pandora-kernel.git [PATCH] DM9000 - better checks for platform resources The current DM9000 driver cannot cope if it is given more than 3 resources (for example, if it is being passed an wake-up irq that it is not using yet). Check that we have been given at-least one IRQ resource. Also fix the minor type-casting for the case of 2 resources. Signed-off-by: Ben Dooks Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed