]> git.hungrycats.org Git - linux/commitdiff
[PATCH] isapnp change
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Sun, 23 Mar 2003 10:06:51 +0000 (02:06 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 23 Mar 2003 10:06:51 +0000 (02:06 -0800)
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 ?

drivers/pnp/isapnp/core.c

index cf51d10a9e6396bdba9352de4988e8924182cad9..018385275a61c07ed07e4d777d75ab96f64b7f79 100644 (file)
@@ -72,8 +72,13 @@ MODULE_PARM(isapnp_verbose, "i");
 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