Re: [PATCH] PnP Fixes for 2.6.5

Adam Belay
2004-04-14T20:58:03Z

diff -Nru a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c
--- a/drivers/pnp/isapnp/core.c Wed Apr 14 04:40:54 2004
+++ b/drivers/pnp/isapnp/core.c Wed Apr 14 04:40:54 2004
@@ -995,7 +995,7 @@
res->port_resource[tmp].flags = IORESOURCE_IO;
}
for (tmp = 0; tmp < PNP_MAX_MEM; tmp++) {
- ret = isapnp_read_dword(ISAPNP_CFG_MEM + (tmp << 3));
+ ret = isapnp_read_word(ISAPNP_CFG_MEM + (tmp << 3)) << 8;
if (!ret)
continue;
res->mem_resource[tmp].start = ret;