commit | b4ed03ff12e4bf228aaf15b2a364134348ebe8a9 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue Jun 13 23:47:19 2006 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Jun 26 22:01:53 2006 -0400 |
tree | c7b678d6be2e316064aa505fed0352f994454d89 | |
parent | eb99adde31b7d85c67a5e1c2fa5e098e1056dd79 [diff] |
[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>