Messages in this thread Patch in this message | | | Date | Wed, 14 Apr 2004 04:58:15 +0000 | From | Adam Belay <> | Subject | Re: [PATCH] PnP Fixes for 2.6.5 |
| |
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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |