]> err.no Git - linux-2.6/commit
[PATCH] DM9000 - better checks for platform resources
authorBen Dooks <ben-linux@fluff.org>
Tue, 13 Jun 2006 22:47:19 +0000 (23:47 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 02:01:53 +0000 (22:01 -0400)
commitb4ed03ff12e4bf228aaf15b2a364134348ebe8a9
treec7b678d6be2e316064aa505fed0352f994454d89
parenteb99adde31b7d85c67a5e1c2fa5e098e1056dd79
[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 <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dm9000.c