DISCUSSION: isapnp change

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 23 Mar 2003 18:06:13 GMT


PC9800 uses the ISAPnP protocol but on CBUS not ISA bus. The
current patch is below. I'm wondering if there is a cleaner way we
should do this ?

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65-bk4/drivers/pnp/isapnp/core.c linux-2.5.65-ac4/drivers/pnp/isapnp/core.c
--- linux-2.5.65-bk4/drivers/pnp/isapnp/core.c 2003-03-23 16:46:30.000000000 +0000
+++ linux-2.5.65-ac4/drivers/pnp/isapnp/core.c 2003-03-18 17:02:48.000000000 +0000
@@ -72,8 +72,13 @@
MODULE_PARM_DESC(isapnp_verbose, "ISA Plug & Play verbose mode");
MODULE_LICENSE("GPL");

+#ifdef CONFIG_X86_PC9800
+#define _PIDXR 0x259
+#define _PNPWRP 0xa59
+#else
#define _PIDXR 0x279
#define _PNPWRP 0xa79
+#endif

/* short tags */
#define _STAG_PNPVERNO 0x01
-
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/