summaryrefslogtreecommitdiff
path: root/picirq.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-15 17:24:54 +0000
committerrsc <rsc>2006-07-15 17:24:54 +0000
commit643b122b4a721dbdb208ec5f8d15e56b63ac58d5 (patch)
tree4a45e90f51b9b9b2fb172f289caad30ac57789fe /picirq.c
parent3497670122cd0561661a0a2e617ec9ece789c2f0 (diff)
downloadxv6-labs-643b122b4a721dbdb208ec5f8d15e56b63ac58d5.tar.gz
xv6-labs-643b122b4a721dbdb208ec5f8d15e56b63ac58d5.tar.bz2
xv6-labs-643b122b4a721dbdb208ec5f8d15e56b63ac58d5.zip
move everything having to do with proc_table_lock into proc.c
Diffstat (limited to 'picirq.c')
-rw-r--r--picirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/picirq.c b/picirq.c
index 9c3ea0c..19c4f88 100644
--- a/picirq.c
+++ b/picirq.c
@@ -53,7 +53,7 @@ pic_init(void)
outb(IO_PIC2+1, IRQ_SLAVE); // ICW3
// NB Automatic EOI mode doesn't tend to work on the slave.
// Linux source code says it's "to be investigated".
- outb(IO_PIC2+1, 0x3); // ICW4
+ outb(IO_PIC2+1, 0x1); // ICW4
// OCW3: 0ef01prs
// ef: 0x = NOP, 10 = clear specific mask, 11 = set specific mask