Same ISR with a different context pointer.
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: Thursday, January 04, 2001 10:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Cannot get Interrupts on one card when two PCI
ca rds of same type loaded
Do you register a separate ISR for each adapter or the same ISR for all
adapters?
-----Original Message-----
From: Berto [mailto:xxxxx@wcscnet.com]
Sent: Wednesday, January 03, 2001 5:52 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Cannot get Interrupts on one card when two PCI ca
rds of same type loadedThis is on a multiprocessor NT 4.0 system.
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: Guru Huchurao [mailto:xxxxx@microsoft.com]
Sent: Wednesday, January 03, 2001 7:12 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Cannot get Interrupts on one card
when two PCI
cards of same type loadedIs this a nt 4.0 style PCI driver installed on Win2k. If so
try passing
DeviceObject as a parameter to HalAssignSlotResource. This
could solve the
problem.-----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@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: 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