Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bjorn Helgaas and committed by
Len Brown
ca0e8b6f 1bd17e63

+8 -10
+8
drivers/pnp/isapnp/core.c
··· 88 88 #define _LTAG_MEM32RANGE 0x85 89 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 100 * Sizes of ISAPNP logical device configuration register sets. 93 101 * See PNP-ISA-v1.0a.pdf, Appendix A.
-10
include/linux/isapnp.h
··· 26 26 #include <linux/pnp.h> 27 27 28 28 /* 29 - * Configuration registers (TODO: change by specification) 30 - */ 31 - 32 - #define ISAPNP_CFG_ACTIVATE 0x30 /* byte */ 33 - #define ISAPNP_CFG_MEM 0x40 /* 4 * dword */ 34 - #define ISAPNP_CFG_PORT 0x60 /* 8 * word */ 35 - #define ISAPNP_CFG_IRQ 0x70 /* 2 * word */ 36 - #define ISAPNP_CFG_DMA 0x74 /* 2 * byte */ 37 - 38 - /* 39 29 * 40 30 */ 41 31