2002-10-17 11:51:49

by Osamu Tomita

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

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