aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-09-20 06:26:28 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-09-20 06:26:28 +0000
commitab7136136404f98d04e796d71a623c76fad60f85 (patch)
treedadf2b86a2730e27aebf7ff689f931a5156e4cd6
parent87b462a2762128894bcfdc111a25722c7477f085 (diff)
downloadsrc-ab7136136404f98d04e796d71a623c76fad60f85.tar.gz
src-ab7136136404f98d04e796d71a623c76fad60f85.zip
Adjust the #ifdef KERNEL so that pnp_cinfo is available for sbin/dset.c
Other ways around this might be to #define KERNEL in dset.c for the "i386/isa/pnp.h" include.
Notes
Notes: svn path=/head/; revision=29635
-rw-r--r--sys/i386/isa/pnp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/pnp.h b/sys/i386/isa/pnp.h
index 29acd02c1102..8a0432cf7075 100644
--- a/sys/i386/isa/pnp.h
+++ b/sys/i386/isa/pnp.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pnp.h,v 1.2 1997/09/18 08:04:13 jmg Exp $
+ * $Id: pnp.h,v 1.3 1997/09/19 15:20:25 jmg Exp $
*/
#ifndef _I386_ISA_PNP_H_
@@ -228,10 +228,6 @@
#define _32BIT_FIXED_LOC_DESC 0x6
#define LG_RES_RESERVED 0x7-0x7f
-#ifdef KERNEL
-
-#include <i386/isa/isa_device.h>
-
/*
* pnp_cinfo contains Configuration Information. They are used
* to communicate to the device driver the actual configuration
@@ -258,6 +254,10 @@ struct pnp_cinfo {
} mem[4];
};
+#ifdef KERNEL
+
+#include <i386/isa/isa_device.h>
+
struct pnp_device {
char *pd_name;
char * (*pd_probe ) (u_long csn, u_long vendor_id);