[PATCH] DM9000 network driver bugfix

This patch fixes two bugs in the dm9000 network driver:

- Don't read one byte too much in 8bit mode.
- release correct resource

Signed-off-by: Jochen Karrer <j.karrer@lightmaze.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>

authored by Sascha Hauer and committed by Jeff Garzik 5f6b5517 1db1a874

+2 -2
+2 -2
drivers/net/dm9000.c
··· 224 224 225 225 static void dm9000_inblk_8bit(void __iomem *reg, void *data, int count) 226 226 { 227 - readsb(reg, data, count+1); 227 + readsb(reg, data, count); 228 228 } 229 229 230 230 ··· 364 364 } 365 365 366 366 if (db->addr_res != NULL) { 367 - release_resource(db->data_req); 367 + release_resource(db->addr_res); 368 368 kfree(db->addr_req); 369 369 } 370 370 }