diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-28 18:33:49 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 03:22:15 -0400 |
commit | ca0e8b6fd29819891c874b86ff286987c5bfdc21 (patch) | |
tree | 45fb178fbb41c3b3583fc775ea4e1ab6056a06f2 /drivers/pnp | |
parent | 1bd17e63a068db6f464925a79b1cc4b27a8b1af9 (diff) |
ISAPNP: move config register addresses out of isapnp.h
These are used only in drivers/pnp/isapnp/core.c, so no need to
expose them to the world.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp')
-rw-r--r-- | drivers/pnp/isapnp/core.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c index 257f5d827d83..dd67752a5828 100644 --- a/drivers/pnp/isapnp/core.c +++ b/drivers/pnp/isapnp/core.c | |||
@@ -88,6 +88,14 @@ MODULE_LICENSE("GPL"); | |||
88 | #define _LTAG_MEM32RANGE 0x85 | 88 | #define _LTAG_MEM32RANGE 0x85 |
89 | #define _LTAG_FIXEDMEM32RANGE 0x86 | 89 | #define _LTAG_FIXEDMEM32RANGE 0x86 |
90 | 90 | ||
91 | /* Logical device control and configuration registers */ | ||
92 | |||
93 | #define ISAPNP_CFG_ACTIVATE 0x30 /* byte */ | ||
94 | #define ISAPNP_CFG_MEM 0x40 /* 4 * dword */ | ||
95 | #define ISAPNP_CFG_PORT 0x60 /* 8 * word */ | ||
96 | #define ISAPNP_CFG_IRQ 0x70 /* 2 * word */ | ||
97 | #define ISAPNP_CFG_DMA 0x74 /* 2 * byte */ | ||
98 | |||
91 | /* | 99 | /* |
92 | * Sizes of ISAPNP logical device configuration register sets. | 100 | * Sizes of ISAPNP logical device configuration register sets. |
93 | * See PNP-ISA-v1.0a.pdf, Appendix A. | 101 | * See PNP-ISA-v1.0a.pdf, Appendix A. |