From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Subject: [patch 02/54] ISAPNP: move config register addresses out of isapnp.h Date: Fri, 25 Apr 2008 12:38:09 -0600 Message-ID: <20080425183924.492582889@ldl.fc.hp.com> References: <20080425183807.366134771@ldl.fc.hp.com> Return-path: Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:16129 "EHLO g5t0009.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752353AbYDYSj0 (ORCPT ); Fri, 25 Apr 2008 14:39:26 -0400 Content-Disposition: inline; filename=isapnp-remove-register-addrs-from-header Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Len Brown Cc: linux-acpi@vger.kernel.org, Rene Herman , linux-kernel@vger.kernel.org, Adam Belay , Adam M Belay , Li Shaohua , Matthieu Castet , Thomas Renninger , Rene Herman , Jaroslav Kysela , Andrew Morton These are used only in drivers/pnp/isapnp/core.c, so no need to expose them to the world. Signed-off-by: Bjorn Helgaas Acked-By: Rene Herman Index: work10/drivers/pnp/isapnp/core.c =================================================================== --- work10.orig/drivers/pnp/isapnp/core.c 2008-04-25 11:12:17.000000000 -0600 +++ work10/drivers/pnp/isapnp/core.c 2008-04-25 11:14:44.000000000 -0600 @@ -88,6 +88,14 @@ #define _LTAG_MEM32RANGE 0x85 #define _LTAG_FIXEDMEM32RANGE 0x86 +/* Logical device control and configuration registers */ + +#define ISAPNP_CFG_ACTIVATE 0x30 /* byte */ +#define ISAPNP_CFG_MEM 0x40 /* 4 * dword */ +#define ISAPNP_CFG_PORT 0x60 /* 8 * word */ +#define ISAPNP_CFG_IRQ 0x70 /* 2 * word */ +#define ISAPNP_CFG_DMA 0x74 /* 2 * byte */ + /* * Sizes of ISAPNP logical device configuration register sets. * See PNP-ISA-v1.0a.pdf, Appendix A. Index: work10/include/linux/isapnp.h =================================================================== --- work10.orig/include/linux/isapnp.h 2008-04-25 11:12:17.000000000 -0600 +++ work10/include/linux/isapnp.h 2008-04-25 11:14:44.000000000 -0600 @@ -26,16 +26,6 @@ #include /* - * Configuration registers (TODO: change by specification) - */ - -#define ISAPNP_CFG_ACTIVATE 0x30 /* byte */ -#define ISAPNP_CFG_MEM 0x40 /* 4 * dword */ -#define ISAPNP_CFG_PORT 0x60 /* 8 * word */ -#define ISAPNP_CFG_IRQ 0x70 /* 2 * word */ -#define ISAPNP_CFG_DMA 0x74 /* 2 * byte */ - -/* * */ --