[Bug 1160] New: pnp_allow_dma0 option

From: Martin J. Bligh
Date: Thu Aug 28 2003 - 10:14:10 EST


http://bugme.osdl.org/show_bug.cgi?id=1160

Summary: pnp_allow_dma0 option
Kernel Version: 2.6.0-test4
Status: NEW
Severity: normal
Owner: ambx1@xxxxxxxxxx
Submitter: gt@xxxxxxxxx


It looks like this option has been moved from isapnp to resource.c, but the
MODULE_PARM line is still there:

--- drivers/pnp/isapnp/core.c.orig 2003-08-28 16:21:08.701450448 +0200
+++ drivers/pnp/isapnp/core.c 2003-08-28 16:22:48.084341952 +0200
@@ -65,7 +65,6 @@
MODULE_PARM_DESC(isapnp_rdp, "ISA Plug & Play read data port");
MODULE_PARM(isapnp_reset, "i");
MODULE_PARM_DESC(isapnp_reset, "ISA Plug & Play reset all cards");
-MODULE_PARM(isapnp_allow_dma0, "i");
MODULE_PARM(isapnp_verbose, "i");
MODULE_PARM_DESC(isapnp_verbose, "ISA Plug & Play verbose mode");
MODULE_LICENSE("GPL");

Moreover, the new option "allowdma0" in resource.c only allows to set
pnp_allow_dma0 to 1 but not to 0. My original intention was that the
default value is -1 such that:

-1 => the user did not request a specific value and a quirk can set it to
1 if some hardware needs this.
0 => the user requested not to use it, and a quirk should not change this


-
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/