summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/isapnp.h
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-02-03 08:39:09 +0000
committerkato <kato@FreeBSD.org>1999-02-03 08:39:09 +0000
commitc40db6cc734847f5d3013132b80d70a078c16615 (patch)
tree8460f4832d3da04f82cedbd05be800e5fd9063e4 /sys/boot/common/isapnp.h
parent850544e5d8903343f0bdde5c29f0147851ea1b4b (diff)
downloadFreeBSD-src-c40db6cc734847f5d3013132b80d70a078c16615.zip
FreeBSD-src-c40db6cc734847f5d3013132b80d70a078c16615.tar.gz
PC98 version of new boot loader. Because boot2 has not yet ported,
files in boot2 directory are copies from legacy biosboot. Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Diffstat (limited to 'sys/boot/common/isapnp.h')
-rw-r--r--sys/boot/common/isapnp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/common/isapnp.h b/sys/boot/common/isapnp.h
index 0b3b9ec..d1311b2 100644
--- a/sys/boot/common/isapnp.h
+++ b/sys/boot/common/isapnp.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: isapnp.h,v 1.1 1998/09/18 00:24:25 msmith Exp $
+ * $Id: isapnp.h,v 1.2 1998/10/21 20:07:04 msmith Exp $
*/
#ifndef _I386_ISA_PNP_H_
@@ -44,7 +44,8 @@
#define MAX_PNP_LDN 20
/* Static ports to access PnP state machine */
-#if defined(PC98) && defined(KERNEL)
+#ifndef KERNEL
+#ifdef PC98
/* pnp.h is included from pnpinfo.c. */
#define _PNP_ADDRESS 0x259
#define _PNP_WRITE_DATA 0xa59
@@ -52,6 +53,7 @@
#define _PNP_ADDRESS 0x279
#define _PNP_WRITE_DATA 0xa79
#endif
+#endif
/* PnP Registers. Write to ADDRESS and then use WRITE/READ_DATA */
#define SET_RD_DATA 0x00
OpenPOWER on IntegriCloud