grundler

grundler@puffin.external.hp.com grundler@puffin.external.hp.com
Sun, 17 Oct 1999 23:24:39 -0600 (MDT)


Update of /home/cvs/parisc/linux/drivers/gecko
In directory puffin.external.hp.com:/tmp/cvs-serv17721/drivers/gecko

Modified Files:
	lasi.c 
Log Message:

Problem: Serial Port interrupts don't work.
Solution: I haven't tested this - but it fixes at least one problem
    and I know the kernel still builds.

    First, "txn_addr|txn_data" (aka EIM) was being written to IMR
    register instead of IAR register. Must write IAR with EIM or
    LASI won't poke the right system addr to get IRQ service.

    Second change is for serial to use "lasi_alloc_irq()" to get
    the virtual IRQ.  The "endianess" of the IRQ lookup may be wrong
    but serial will now get "5" (plus base). Fixing the endianess
    can be done (if needed) by removing the "irq = 31 -irq" line.