> status = rtl_request_irq(7, intr_handler);
>    /* enable parallel port interrupt */
>    outb_p(inb_p(0x37A) | 0x10, 0x37A);
>    rtl_hard_enable_irq(7);
> 
> This should install the interrupt 7 handler and enable interrupt 7,
> right?

Right.
>    outb_p(inb_p(0x21) & (~0x80), 0x21);  //confusing
>    outb_p(0x20, 0x20);        //confusing

These two are not needed. However, rtl_no_interrupts/rtl_restore_interrupts
presence should make no difference.
Do you mean that when they are present,
you don't always get parport interrupts?

Michael.

PS What version of RTL is this?

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to