2002-10-28 17:40:02

by Osamu Tomita

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

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