Re: ISA non PNP interrupt issue

Discussion in 'Windows Vista Drivers' started by Don Burn, Sep 20, 2010.

  1. Don Burn

    Don Burn Guest

    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::

    > On 20 Sep, 17:34, "Don Burn" <> 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" <> wrote in message
    > >
    > > news::
    > >
    > > > 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?
     
    Don Burn, Sep 20, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Colin

    My PnP Monitor is seen as Non PnP???

    Colin, Nov 28, 2007, in forum: Windows Vista Hardware
    Replies:
    1
    Views:
    1,118
    Larry Hunter
    Nov 29, 2007
  2. Guilherme Mallmann

    Help - interrupt for non-PnP devices (ISA board)

    Guilherme Mallmann, Oct 4, 2004, in forum: Windows Vista Drivers
    Replies:
    12
    Views:
    710
    Guilherme Mallmann
    Oct 25, 2004
  3. Maxim S. Shatskih

    Re: ISA non PNP interrupt issue

    Maxim S. Shatskih, Sep 16, 2010, in forum: Windows Vista Drivers
    Replies:
    0
    Views:
    541
    Maxim S. Shatskih
    Sep 16, 2010
  4. Don Burn

    Re: ISA non PNP interrupt issue

    Don Burn, Sep 16, 2010, in forum: Windows Vista Drivers
    Replies:
    0
    Views:
    436
    Don Burn
    Sep 16, 2010
  5. Don Burn

    Re: ISA non PNP interrupt issue

    Don Burn, Sep 20, 2010, in forum: Windows Vista Drivers
    Replies:
    1
    Views:
    512
    Maxim S. Shatskih
    Sep 21, 2010
Loading...

Share This Page