X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/035d7af7dd4727735ec57f8195a4842e31ffc997..892ed40808f5d25dc1e4afde20e7ec33d07ae245:/aseg/counter.c diff --git a/aseg/counter.c b/aseg/counter.c index de82574..61f9b6f 100644 --- a/aseg/counter.c +++ b/aseg/counter.c @@ -52,5 +52,10 @@ void __start (void) outl(0xCF8, pcisave); outb(0x3D4, vgasave); + + outb(0x834, 0x40); // ack the periodic IRQ + outb(0x830, (inb(0x830) | 0x2) & ~0x40); + outb(0x830, inb(0x830) | 0x40); + }