[PATCHSET 15/23] add support for PC-9800 architecture (PNP)

From: Osamu Tomita (tomita@cinet.co.jp)
Date: Mon Oct 28 2002 - 12:30:14 EST


This is a part 15/23 of patchset for add support NEC PC-9800 architecture,
against 2.5.44.

Summary:
 legacy bus pnp module
  - IO port address change.

diffstat:
 drivers/pnp/isapnp/core.c | 5 +++++
 1 files changed, 5 insertions(+)

patch:
diff -urN linux/drivers/pnp/isapnp/core.c linux98/drivers/pnp/isapnp/core.c
--- linux/drivers/pnp/isapnp/core.c Sat Oct 19 13:01:56 2002
+++ linux98/drivers/pnp/isapnp/core.c Sat Oct 19 15:37:24 2002
@@ -75,8 +75,13 @@
 MODULE_PARM_DESC(isapnp_verbose, "ISA Plug & Play verbose mode");
 MODULE_LICENSE("GPL");
 
+#ifndef CONFIG_PC9800
 #define _PIDXR 0x279
 #define _PNPWRP 0xa79
+#else
+#define _PIDXR 0x259
+#define _PNPWRP 0xa59
+#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 : Thu Oct 31 2002 - 22:00:39 EST