Yes, the pointer is unique.
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:29 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Cannot get Interrupts on one card when two PCI
ca rds of same type loaded
But that pointer is unique for each card/device?
-----Original Message-----
From: Berto [mailto:xxxxx@wcscnet.com]
Sent: Wednesday, January 03, 2001 5:18 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Cannot get Interrupts on one card when two PCI ca
rds of same type loadedI 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 loadedWhat 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 loaded
>
>
> I 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?
>
> 1. I use HalGetBusData() to figure out the Bus number, slot number.
> 2. I create a device object for each PCI card(CARD001,
> CARD002) with
> IoCreateDevice().
> 3. I issue the call HalAssignSlotResources() to retrieve the Port
> Address, IRQ and IRQ level.
> 4. I issue HalTranslateBusAddress() to get bus specific address.
> 5. I issue a HalGetInterruptVector() to get the MappedSystemVector.
> 6. 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: 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