Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: ISA non PNP interrupt issue

Reply
Thread Tools Display Modes

Re: ISA non PNP interrupt issue

 
 
Don Burn
Guest
Posts: n/a

 
      09-20-2010
Absolutely not it will not work.


Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr




"matt_sykes" <> wrote in message
news:639bfa76-3615-40ad-a270-:

> On 20 Sep, 17:34, "Don Burn" <b...@windrvr.com> wrote:
> > You can't hardcode an interrupt in a driver for XP and later OS'es it
> > does not work. *You will have to use a PnP style driver and have the
> > LogConfig section define the interrupt. *Note: it is easy to have a
> > conflict at which point your driver loses.
> >
> > Whether you can get this to work at all is another question. *I played
> > with this years ago, and abandoned the effort since I controlled the
> > ACPI BIOS so could achieve the results in another fashion.
> >
> > Don Burn (MVP, Windows DKD)
> > Windows Filesystem and Driver Consulting
> > Website:http://www.windrvr.com
> > Blog:http://msmvps.com/blogs/WinDrvr
> >
> > "dsrking" <dsrking2...@gmail.com> wrote in message
> >
> > news:52886119-d633-4358-b59a-:
> >
> > > hi matt_sykes,

> >
> > > I installed WinDDK 6000 and got WDM based PORTIO sample. There is no
> > > code for interrupt registration. Is it possible to write a code for
> > > non PNP (ISA) get Resources function like below??? (Note: I mentioned
> > > the interrupt number in .inf file IRQConfig portion)

> >
> > > ------------------------------------------------------------------------------------------------------------------------------
> > > * * * * * *case CmResourceTypeInterrupt:
> > > * * * * * * * * * *dx->GotInterrupt = true;
> > > * * * * * * * * * *dx->Irql = (KIRQL)resource->u.Interrupt.Level;
> > > * * * * * * * * * *dx->Vector = resource->u.Interrupt.Vector;
> > > * * * * * * * * * *dx->Affinity = resource->u.Interrupt.Affinity;
> > > * * * * * * * * * *dx->Mode = (resource->Flags == CM_RESOURCE_INTERRUPT_LATCHED)
> > > * * * * * * * * * * * * * *? Latched : LevelSensitive;
> > > * * * * * * * * * *KdPrint(("RetrieveResources: Interrupt vector %x IRQL %d Affinity
> > > %d Mode %d",
> > > * * * * * * * * * * * * * *dx->Vector, dx->Irql, dx->Affinity, dx->Mode));
> > > * * * * * * * * * *break;

> >
> > > ------------------------------------------------------------------------------------------------------------------------------

> >
> > > * there is no function like "IoRegisterInterruptVector()" what u
> > > mentioned in your previous post.
> > > * For WDM, how can we give interrupt number to driver like hard coded
> > > or my above method is right (interrupt number in .inf and get the
> > > interrupt resource in driver code)?

> >
> > > Thanks in Advance.

> >
> > > Regards,
> > > D.

>
> Hmm. So you are saying an NT 4 driver for an ISA card wouldnt work on
> XP?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: ISA non PNP interrupt issue Don Burn Windows Vista Drivers 1 09-21-2010 07:56 AM
Re: ISA non PNP interrupt issue Don Burn Windows Vista Drivers 0 09-16-2010 01:05 PM
Re: ISA non PNP interrupt issue Maxim S. Shatskih Windows Vista Drivers 0 09-16-2010 10:35 AM
My PnP Monitor is seen as Non PnP??? Colin Windows Vista Hardware 1 11-29-2007 06:01 PM
Help - interrupt for non-PnP devices (ISA board) Guilherme Mallmann Windows Vista Drivers 12 10-25-2004 01:10 PM