[PATCH][RFC] add support for PC-9800 architecture (17/26) PNP

From: Osamu Tomita (tomita@cinet.co.jp)
Date: Thu Oct 17 2002 - 06:40:10 EST


This is part 17/26 of patchset for add support NEC PC-9800 architecture,
against 2.5.43.

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

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

patch:
diff -urN linux/drivers/pnp/isapnp.c linux98/drivers/pnp/isapnp.c
--- linux/drivers/pnp/isapnp.c Sat Oct 12 13:22:09 2002
+++ linux98/drivers/pnp/isapnp.c Sat Oct 12 14:18:53 2002
@@ -93,8 +93,13 @@
 MODULE_PARM_DESC(isapnp_reserve_mem, "ISA Plug & Play - reserve memory region(s) - address,size");
 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 : Wed Oct 23 2002 - 22:00:34 EST