DISCUSSION: isapnp change

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Mar 23 2003 - 13:06:13 EST


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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:45 EST