RE: [ntdev]NT40 Device Will Not Generate Interrupts - On M ultiprocesso r Computers

Thanks it solved the Win2K problem.

Regards


WCSC(Willies Computer Software Co)
Web: http://www.wcscnet.com Email: xxxxx@wcscnet.com
Tel: (281)360-4232 Fax: (281)360-3231

-----Original Message-----
From: Eliyas Yakub [mailto:xxxxx@microsoft.com]
Sent: Thursday, December 14, 2000 2:27 PM
To: NT Developers Interest List
Subject: [ntdev] RE: [ntdev]NT40 Device Will Not Generate Interrupts
On M ultiprocesso r Computers

Check your code to see whether you are using HalAssignSlotResources. If so
then check to see whether you are specifying a deviceobject pointer in the
third parameter of the function. If not specify one. We have seen all kinds
of problem because of this. Rest is documented in
http://support.microsoft.com/support/kb/articles/Q268/7/43.ASP. Let us know
if that fixes your problem.

Good Luck,
Eliyas

-----Original Message-----
From: Berto [mailto:xxxxx@wcscnet.com]
Sent: Wednesday, December 13, 2000 8:22 PM
To: NT Developers Interest List
Subject: [ntdev] [ntdev]NT40 Device Will Not Generate Interrupts On
Multiprocesso r Computers

Please Help!!!

I have a problem in my specialized serial device driver
that only manifests itself in multiprocessor machines.

  1. The driver is a Windows NT4.0 driver.

  2. The driver works fine on single processor machines
    for both ISA and PCI serial cards.

  3. On the multiprocessor machines running Window 2000
    I do not get interrupts from ISA cards or PCI
    cards.

  4. On multiprocessor machines running Windows NT4.0
    I get interrupts from both ISA and PCI cards.

  5. For the PCI card I use HalGetBusData() to get both
    the I/O address of the card and the interrupt line.
    I get the interrupt from
    PCIInfo.u.type0.InterruptLine in the PCI config
    space. I then call HalGetInterruptVector() using
    the value PCIInfo.u.type0.InterruptLine for both
    the BusInterruptLevel & BusInterruptVector
    parameters. The system has one PCI bus which is
    zero. I then call the IoConnectInterrupt().

  6. For the ISA card I call HalGetInterruptVector()
    using the known IRQ for the board for both
    the BusInterruptLevel & BusInterruptVector
    parameters. The system has one ISA bus which is
    zero. I then call the IoConnectInterrupt().

What am I missing? The driver has been working fine on
single processor machines for some time now. What
do I need to do to get it to work on a
multiprocessor system? Please reply to the newsgroup
as well as to xxxxx@wcscnet.com.

Best Regards,
Egberto Willies

WCSC(Willies Computer Software Co)
http://www.wcscnet.com
Tel: (281)360-4232 Fax: (281)360-3231


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@wcscnet.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com