>well if the only thing the card does is issue an interrupt and fill a
>buffer you will be forced to look at that buffer to know who triggert
>the interrupt. depending on the data-buffer size to read it might be
>the simplest method of copying both data areas from the card. But to
>give you any resonable hint a bit more info on this hardware would help...
>shure the thing can't access more than one IRQ line ?? many multiport
>cards like multiport ethernet cards can assigne individual interrupts
>to the devices.
 
I think in PCI configuarion registers, there is just only one IRQ Line.
You idea sounds interesting. If there are two, I want to know how to make
 the port related with Irq. In normal linux, it seems that you can have more
parameter in the ISR.( I need to study it later)
 
BTW, I am confused with one thing. In my drvier, if I use
    pci_read_config_byte(dev,PCI_INTERRUPT_LINE,&irq)
then the irq = 5, but if I use   irq = dev->irq, then I get 16.
 It is so confused. At first I think 5 is the right one, but if I use 5,
  then NONE ISR is triggered. if I use later, anything is OK.
I still don't know the reason. 
 
Liu

Reply via email to