My PCI card has two ports. You know they should share the irq
and ISR in its RTLinux driver and just can use rtl_request_irq once.
Each port has diffirent kernel space for data to store.
now I want the ISR to know  which port produced the interrupt.
so that the data can be put into the right space.
Also I can access both in one module.
orelse I just can access the fixed port use my driver.
I want to make it more general and useful.
 
I have one idea that to justify each kernel buffer to see
if it is empty or not first. But I think it is a stupid method.
so does anyone have some creative idea?
 
Thanks.
Liu

Reply via email to