Hi, all. Writing device driver without enough knowledge made my life
miserable... Please enlighten me basic things I am missing :-)
I have been writing a customized device driver for 3c905B ethernet card on
2.0.36. Cards are installed like this:
3c905B (on board) w/ IRQ 11, my driver
Intel EtherPro100 w/ IRQ 11, generic TCP/IP traffic
3c905B (on slot) w/ IRQ 14, my driver
or
3c905B (on board) w/ IRQ 11, my driver
Intel EtherPro100 w/ IRQ 10, generic TCP/IP traffic
3c905B (on slot) w/ IRQ 11, my driver
My driver uses fast interrupt (SA_INTERRUPT), and generic driver uses slow
interrupt of course. Do I have to move the slots so that all the devices
that share an interrupt use either fast interrupt or slow interrupt? What
if I add more cards, and that cards (using my driver) use IRQ that is
already used by other devices with slow interrupt?
Hmm... Is it okey to fix IRQ (using dip switch or jumper, if there is) in
order to share interrupts for all 3c905Bs?
Another question: I heard, in fast interrupt, interrupt is automatically
disabled when entering interrupt handler. Does it mean that I may lose
incoming interrupt from 3c905B(II) if it takes too long processing
interrupt from 3c905B(I)?
There are so many questions, but the only references I have are "Linux
Kernel Internal" and "O'Reilly Device drivers". Are there any other good
references I can find, or web sites?
Thank you.
-------------------------------------------------------------
I didn't know the worst 4-letter-word was "Aiee"
--Jae.