diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-06 15:27:05 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-06 15:27:05 +0000 |
commit | 6075124f5d4f68fbf2a03a70240288f2e9947813 (patch) | |
tree | c8b2a364e3c3e7b441b1a17da10a88a9b5af194a /sys/powerpc/mpc85xx | |
parent | da1f525af04cd62596668038387a53d2eedd6b09 (diff) | |
download | FreeBSD-src-6075124f5d4f68fbf2a03a70240288f2e9947813.zip FreeBSD-src-6075124f5d4f68fbf2a03a70240288f2e9947813.tar.gz |
Move the EOI logic when starting ithreads into intr_machdep instead of
relying on it as a side effect of PIC_MASK() in the PIC drivers, and add
an inmplementation of assign_cpu() for the kernel interrupt layer.
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r-- | sys/powerpc/mpc85xx/atpic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/mpc85xx/atpic.c b/sys/powerpc/mpc85xx/atpic.c index 03ae9b4..3a749c7 100644 --- a/sys/powerpc/mpc85xx/atpic.c +++ b/sys/powerpc/mpc85xx/atpic.c @@ -308,12 +308,10 @@ atpic_mask(device_t dev, u_int irq) if (irq > 7) { sc->sc_mask[ATPIC_SLAVE] |= 1 << (irq - 8); atpic_write(sc, ATPIC_SLAVE, 1, sc->sc_mask[ATPIC_SLAVE]); - atpic_write(sc, ATPIC_SLAVE, 0, OCW2_EOI); } else { sc->sc_mask[ATPIC_MASTER] |= 1 << irq; atpic_write(sc, ATPIC_MASTER, 1, sc->sc_mask[ATPIC_MASTER]); } - atpic_write(sc, ATPIC_MASTER, 0, OCW2_EOI); } static void |