diff options
author | imp <imp@FreeBSD.org> | 2005-03-16 20:44:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-03-16 20:44:19 +0000 |
commit | 0794b3a70d6fa3543d0dbd38d097f9b09330a357 (patch) | |
tree | 176e377cc29856e0a983af22f43c04881ffcd5b8 /sys/pc98 | |
parent | c0c5a03a41a96c6a9b75b0814e5b44555f340e11 (diff) | |
download | FreeBSD-src-0794b3a70d6fa3543d0dbd38d097f9b09330a357.zip FreeBSD-src-0794b3a70d6fa3543d0dbd38d097f9b09330a357.tar.gz |
Define IRQ_NPX for the irq used for the npx. Define macro for a full
reset of of npx, as appropriate for the platform.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/cbus.h | 11 | ||||
-rw-r--r-- | sys/pc98/pc98/pc98.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sys/pc98/cbus/cbus.h b/sys/pc98/cbus/cbus.h index 9788cb0..627c0e9 100644 --- a/sys/pc98/cbus/cbus.h +++ b/sys/pc98/cbus/cbus.h @@ -106,6 +106,17 @@ #define RAM_SIZE (RAM_END - RAM_BEGIN) #endif /* !RAM_BEGIN */ +/* + * IRQs + */ +#define IRQ_NPX 8 + +/* + * Npx MD defines + */ +/* full reset of npx: not needed on pc98 */ +#define npx_full_reset() + #define M_NEC_PC98 0x0001 #define M_EPSON_PC98 0x0002 #define M_NOT_H98 0x0010 diff --git a/sys/pc98/pc98/pc98.h b/sys/pc98/pc98/pc98.h index 9788cb0..627c0e9 100644 --- a/sys/pc98/pc98/pc98.h +++ b/sys/pc98/pc98/pc98.h @@ -106,6 +106,17 @@ #define RAM_SIZE (RAM_END - RAM_BEGIN) #endif /* !RAM_BEGIN */ +/* + * IRQs + */ +#define IRQ_NPX 8 + +/* + * Npx MD defines + */ +/* full reset of npx: not needed on pc98 */ +#define npx_full_reset() + #define M_NEC_PC98 0x0001 #define M_EPSON_PC98 0x0002 #define M_NOT_H98 0x0010 |