I pass a pointer to a structure that contains a lot of information including
the pointer to the device object.
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: Gary Little [mailto:xxxxx@delphieng.com]
Sent: Wednesday, January 03, 2001 7:13 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Cannot get Interrupts on one card when two PCI
cards of same type loaded
What do you set as ServiceContext in your call to IoConnectInterrupt? It
should, at a minimum be the device object for each card.
Gary
-----Original Message-----
From: Berto [mailto:xxxxx@wcscnet.com]
Sent: Wednesday, January 03, 2001 4:52 PM
To: NT Developers Interest List
Subject: [ntdev] Cannot get Interrupts on one card when two
PCI cards of
same type loadedI have two identical PCI cards. The problem I am having is
that I can open
each card individually and have interrupts fire off fine.
When I open them
both, I only get interrupts on the card that was opened
first. Any advice?
- I use HalGetBusData() to figure out the Bus number, slot number.
- I create a device object for each PCI card(CARD001,
CARD002) with
IoCreateDevice().- I issue the call HalAssignSlotResources() to retrieve the Port
Address, IRQ and IRQ level.- I issue HalTranslateBusAddress() to get bus specific address.
- I issue a HalGetInterruptVector() to get the MappedSystemVector.
- I issue the IoConnectInterrupt() call to connect the interrupt.
The above sequence is performed for each card. Whichever is
the first card
that is opened generated interrupts fine. The other card is
initialized
successfully but no generated interrupts get to my handler.
Any ideas?’Regards
WCSC(Willies Computer Software Co)
Web: http://www.wcscnet.com Email: xxxxx@wcscnet.com
Tel: (281)360-4232 Fax: (281)360-3231
You are currently subscribed to ntdev as: xxxxx@delphieng.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