Hi hackers,

I have to hijack lpt_intr() from lpt device driver
(/sys/dev/ppbus/lpt.c) to measure latency.

Is this right = 

        BUS_TEARDOWN_INTR(old interrupt handler);
        BUS_SETUP_INTR(new interrupt handler);
        
        ?

In fact I could not get resource structure and the cookie from lpt
driver, so before doing bad things I would want to know if this is the
right way to hijack a hardware interrupt handler.

Thanks in advance,

 
--
Sansonetti Laurent - http://lrz.linuxbe.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to