Telephony Driver ISAPNP fix kernel 2.6.7

From: Paul King
Date: Wed Jun 30 2004 - 13:45:17 EST


I recently got an ISA Phonejack card and quickly found it wouldn't
work with a stock 2.6.7 kernel.

So found this bug in the ISAPNP part of the code, throughout the
code it use it's own data structure to reference it's base IO address,
in the ISAPNP code this was not being populated with any value hence
it can't talk to the card and so the driver fails.


--- ixj.c 2004-06-30 18:41:44.596776376 +0000
+++ /usr/src/linux/drivers/telephony/ixj.c 2004-06-30 18:42:
44.448677504 +0000
@@ -7741,6 +7741,7 @@
}

j = ixj_alloc();
+ j->DSPbase = pnp_port_start(dev,0);
request_region(j->DSPbase, 16, "ixj DSP");

if (func != 0x110)







-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/