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/i386/isa/isa.h | |
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/i386/isa/isa.h')
-rw-r--r-- | sys/i386/isa/isa.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/i386/isa/isa.h b/sys/i386/isa/isa.h index a9d7abb..1173628 100644 --- a/sys/i386/isa/isa.h +++ b/sys/i386/isa/isa.h @@ -107,4 +107,15 @@ #define RAM_SIZE (RAM_END - RAM_BEGIN) #endif /* !RAM_BEGIN */ +/* + * IRQs + */ +#define IRQ_NPX 13 + +/* + * Npx MD defines + */ +/* full reset on some systems, NOP on others */ +#define npx_full_reset() outb(IO_NPX + 1, 0) + #endif /* !_I386_ISA_ISA_H_ */ |