summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/isa.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-11-14 14:19:10 +0000
committerbde <bde@FreeBSD.org>1994-11-14 14:19:10 +0000
commit9cab2e99d7b624f39cce1c4c7a8405431559b0e6 (patch)
treeb3ae3f576d57f6e69266290590db4639abea312a /sys/i386/isa/isa.h
parent03c6bfcbf9676e8b8060355145c8e9769625c4a8 (diff)
downloadFreeBSD-src-9cab2e99d7b624f39cce1c4c7a8405431559b0e6.zip
FreeBSD-src-9cab2e99d7b624f39cce1c4c7a8405431559b0e6.tar.gz
Move declarations of atdevbase and rtcin() to cpufunc.h (a less wrong
place). Fix spelling error. Uniformize idempotency ifdef.
Diffstat (limited to 'sys/i386/isa/isa.h')
-rw-r--r--sys/i386/isa/isa.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/sys/i386/isa/isa.h b/sys/i386/isa/isa.h
index 7f6b02a..757709a 100644
--- a/sys/i386/isa/isa.h
+++ b/sys/i386/isa/isa.h
@@ -34,24 +34,16 @@
* SUCH DAMAGE.
*
* from: @(#)isa.h 5.7 (Berkeley) 5/9/91
- * $Id: isa.h,v 1.5 1994/04/21 14:20:54 sos Exp $
+ * $Id: isa.h,v 1.6 1994/10/01 02:56:15 davidg Exp $
*/
#ifndef _I386_ISA_ISA_H_
-#define _I386_ISA_ISA_H_ 1
+#define _I386_ISA_ISA_H_
/*
* ISA Bus conventions
*/
-#ifndef LOCORE
-#include <sys/cdefs.h>
-
-extern unsigned int atdevbase; /* offset in virtual memory of ISA io mem */
-unsigned char rtcin __P((int));
-#endif
-
-
/*
* Input / Output Port Assignments
*/
@@ -66,7 +58,7 @@ unsigned char rtcin __P((int));
#define IO_TIMER1 0x040 /* 8253 Timer #1 */
#define IO_TIMER2 0x048 /* 8253 Timer #2 */
#define IO_KBD 0x060 /* 8042 Keyboard */
-#define IO_PPI 0x061 /* Programmabel Peripheral Interface */
+#define IO_PPI 0x061 /* Programmable Peripheral Interface */
#define IO_RTC 0x070 /* RTC */
#define IO_NMI IO_RTC /* NMI Control */
#define IO_DMAPG 0x080 /* DMA Page Registers */
@@ -182,4 +174,5 @@ unsigned char rtcin __P((int));
#define WEITEK_FPU 0xC0000000 /* WTL 2167 */
#define CYRIX_EMC 0xC0000000 /* Cyrix EMC */
#endif COMPAQ_RAMRELOC
-#endif /* _I386_ISA_ISA_H_ */
+
+#endif /* !_I386_ISA_ISA_H_ */
OpenPOWER on IntegriCloud