Prev: I need to implement "N-Up" printing for my Print Dialog
Next: kbfiltr compiled for Windows 7 x64, fails to run keyboard & m
From: K7C on 20 Jun 2010 11:54 Dear all, Recently, I am developing a driver for a PCI-based multiserial cards(9054+16c554+CPLD). The PCI bus has allocated the interrupt(IRQ 20) for 9054. However,There are no independent serial ports' interrupt line connect to the PCI bus. (The serial ports are just enumerated from my own bus driver, and I set the I/O space for them, all there interrupt lines are connected to 9054). Is there some way I can notify the serial ports driver to begin RX/TX in my bus driver interrupt handler? Any ideas or suggestions are welcome! Best regards, K7C
From: eagersh on 22 Jun 2010 12:50
On Jun 20, 9:54 am, K7C <K...(a)discussions.microsoft.com> wrote: > Dear all, > > Recently, I am developing a driver for a PCI-based multiserial > cards(9054+16c554+CPLD). The PCI bus has allocated the interrupt(IRQ 20) for > 9054. However,There are no independent serial ports' interrupt line connect > to the PCI bus. (The serial ports are just enumerated from my own bus driver, > and I set the I/O space for them, all there interrupt lines are connected to > 9054). > > Is there some way I can notify the serial ports driver to begin RX/TX in > my bus driver interrupt handler? > > Any ideas or suggestions are welcome! > > Best regards, > K7C You need to use an interrupt handler which is assigned for 9054. You could started serial RX/TX as soon you call IoConnectInterrupt for 9054. Getting an interrupt you need to use a Interrupt Status register of 9054 to recognize serial interrupt. Igor Sharovar |