diff options
author | nyan <nyan@FreeBSD.org> | 2000-10-15 09:04:21 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-10-15 09:04:21 +0000 |
commit | 5c19d4f6c077ef4545301f0784fcb7a6bc7b5060 (patch) | |
tree | 5efecb2c6feb2bd0dc79422e6f4c3bc4951f52e2 /sys/pc98 | |
parent | af84d4dcdc600d52abcbf06b7c8d10a58940f3d4 (diff) | |
download | FreeBSD-src-5c19d4f6c077ef4545301f0784fcb7a6bc7b5060.zip FreeBSD-src-5c19d4f6c077ef4545301f0784fcb7a6bc7b5060.tar.gz |
Fixed warnings.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/npx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/pc98/pc98/npx.c b/sys/pc98/pc98/npx.c index ab6133f..232e364 100644 --- a/sys/pc98/pc98/npx.c +++ b/sys/pc98/pc98/npx.c @@ -124,8 +124,6 @@ void stop_emulating __P((void)); typedef u_char bool_t; -#define NPXIRQ 8 - static int npx_attach __P((device_t dev)); void npx_intr __P((void *)); static void npx_identify __P((driver_t *driver, device_t parent)); @@ -271,7 +269,7 @@ npx_probe(dev) save_idt_npxintr = idt[npx_intrno]; save_idt_npxtrap = idt[16]; #ifdef PC98 - outb(IO_ICU1 + 2, ~IRQ_SLAVE); + outb(IO_ICU1 + 2, (u_int8_t) ~IRQ_SLAVE); outb(IO_ICU2 + 2, ~(1 << (npx_irq - 8))); #else outb(IO_ICU1 + 1, ~IRQ_SLAVE); |