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. Advertisements

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
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,385
    Larry Hunter
    Nov 29, 2007
  2. Daniel
    Replies:
    7
    Views:
    1,016
    Pavel A.
    Sep 17, 2003
  3. Lee Hamel

    porting ISA non-PnP driver from NT to XP WDM model

    Lee Hamel, Nov 4, 2003, in forum: Windows Vista Drivers
    Replies:
    0
    Views:
    570
    Lee Hamel
    Nov 4, 2003
  4. Guilherme Mallmann

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

    Guilherme Mallmann, Oct 4, 2004, in forum: Windows Vista Drivers
    Replies:
    12
    Views:
    1,366
    Guilherme Mallmann
    Oct 25, 2004
  5. pgruebele
    Replies:
    26
    Views:
    2,717
    Scott Noone
    Nov 21, 2008
  6. Don Burn

    Re: ISA non PNP interrupt issue

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

    Re: ISA non PNP interrupt issue

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