Hello evreyone

I need sample code for PCMCIA device driver that used IO-PORT MEMORY AND
INTERRUPT.

regards
Developer

Any complete sample PCMCIA driver code for WIN 2000 / XP? by PL

PL
Wed Feb 04 03:47:36 CST 2004


>-----Original Message-----
>Hello evreyone
>
>I need sample code for PCMCIA device driver that used IO-
PORT MEMORY AND
>INTERRUPT.
>
>regards
>Developer
>
>
>.
>
I also need the same for network (LAN adapter). But I am
beginning to understand that all the difference between
PCI NIC and PCMCIA NIC driver is in one call:
NdisMSetAttributesEx:AdapterType = NdisInterfacePcMcia.
PL.

Re: Any complete sample PCMCIA driver code for WIN 2000 / XP? by Pavel

Pavel
Wed Feb 04 07:33:41 CST 2004

"PL" <avila1@bezeqint.net> wrote in message news:958c01c3eb03$eb7a83d0$a301280a@phx.gbl...
> I also need the same for network (LAN adapter). But I am
> beginning to understand that all the difference between
> PCI NIC and PCMCIA NIC driver is in one call:
> NdisMSetAttributesEx:AdapterType = NdisInterfacePcMcia.

Not all. The hardest thing for a non-cardbus card is to provide support for shared PCI type IRQ.
(see the DDK docum).
For a netcard, there is no special pcmcia sample. Any LAN sample will do.

Good luck,
--PA



Re: Any complete sample PCMCIA driver code for WIN 2000 / XP? by anonymous

anonymous
Wed Feb 04 10:09:36 CST 2004


>-----Original Message-----
>"PL" <avila1@bezeqint.net> wrote in message
news:958c01c3eb03$eb7a83d0$a301280a@phx.gbl...
>> I also need the same for network (LAN adapter). But I am
>> beginning to understand that all the difference between
>> PCI NIC and PCMCIA NIC driver is in one call:
>> NdisMSetAttributesEx:AdapterType = NdisInterfacePcMcia.
>
>Not all. The hardest thing for a non-cardbus card is to
provide support for shared PCI type IRQ.
>(see the DDK docum).
>For a netcard, there is no special pcmcia sample. Any LAN
sample will do.
>
>Good luck,
>--PA
>
>Thanks PA!
I have found in the "Handling an Interrupt" the following:
"
If the interrupt is shared and belongs to the miniport
driver, or if the interrupt is not shared but is
recognized by the miniport driver (the interrupt is not
spurious), the miniport driver should disable interrupts
on its NIC and then capture the interrupt-specific
information it needs from the NIC registers. The miniport
driver captures the interrupt-specific information
immediately in MiniportISR, if absolutely necessary, or
preferably, the miniport driver captures the interrupt-
specific information in the MiniportHandleInterrupt
function, which runs at a lower IRQL.
"
May be this is Your tip?
PL
>.
>

Re: Any complete sample PCMCIA driver code for WIN 2000 / XP? by Pavel

Pavel
Wed Feb 04 12:01:54 CST 2004

<anonymous@discussions.microsoft.com> wrote in message news:981901c3eb39$4920dea0$a101280a@phx.gbl...
>
> >-----Original Message-----
> >"PL" <avila1@bezeqint.net> wrote in message
> news:958c01c3eb03$eb7a83d0$a301280a@phx.gbl...
> >> I also need the same for network (LAN adapter). But I am
> >> beginning to understand that all the difference between
> >> PCI NIC and PCMCIA NIC driver is in one call:
> >> NdisMSetAttributesEx:AdapterType = NdisInterfacePcMcia.
> >
> >Not all. The hardest thing for a non-cardbus card is to
> provide support for shared PCI type IRQ.
> >(see the DDK docum).
> >For a netcard, there is no special pcmcia sample. Any LAN
> sample will do.
> >
> >Good luck,
> >--PA
> >
> >Thanks PA!
> I have found in the "Handling an Interrupt" the following:
> "
> If the interrupt is shared and belongs to the miniport
> driver, or if the interrupt is not shared but is
> recognized by the miniport driver (the interrupt is not
> spurious), the miniport driver should disable interrupts
> on its NIC and then capture the interrupt-specific
> information it needs from the NIC registers. The miniport
> driver captures the interrupt-specific information
> immediately in MiniportISR, if absolutely necessary, or
> preferably, the miniport driver captures the interrupt-
> specific information in the MiniportHandleInterrupt
> function, which runs at a lower IRQL.
> "
> May be this is Your tip?
> PL

Yes, and also read in: System support for buses > PCMCIA bus > PCMCIA IRQ Routing on Windows XP.

- PA



Re: Any complete sample PCMCIA driver code for WIN 2000 / XP? by Developer

Developer
Wed Feb 04 12:44:18 CST 2004

What About the Original request for :
Any complete sample PCMCIA driver code for WIN 2000 / XP?

Developer


"Pavel A." <pavel_a@geeklife.com> wrote in message
news:uv6gKk06DHA.2300@TK2MSFTNGP10.phx.gbl...
> <anonymous@discussions.microsoft.com> wrote in message
news:981901c3eb39$4920dea0$a101280a@phx.gbl...
> >
> > >-----Original Message-----
> > >"PL" <avila1@bezeqint.net> wrote in message
> > news:958c01c3eb03$eb7a83d0$a301280a@phx.gbl...
> > >> I also need the same for network (LAN adapter). But I am
> > >> beginning to understand that all the difference between
> > >> PCI NIC and PCMCIA NIC driver is in one call:
> > >> NdisMSetAttributesEx:AdapterType = NdisInterfacePcMcia.
> > >
> > >Not all. The hardest thing for a non-cardbus card is to
> > provide support for shared PCI type IRQ.
> > >(see the DDK docum).
> > >For a netcard, there is no special pcmcia sample. Any LAN
> > sample will do.
> > >
> > >Good luck,
> > >--PA
> > >
> > >Thanks PA!
> > I have found in the "Handling an Interrupt" the following:
> > "
> > If the interrupt is shared and belongs to the miniport
> > driver, or if the interrupt is not shared but is
> > recognized by the miniport driver (the interrupt is not
> > spurious), the miniport driver should disable interrupts
> > on its NIC and then capture the interrupt-specific
> > information it needs from the NIC registers. The miniport
> > driver captures the interrupt-specific information
> > immediately in MiniportISR, if absolutely necessary, or
> > preferably, the miniport driver captures the interrupt-
> > specific information in the MiniportHandleInterrupt
> > function, which runs at a lower IRQL.
> > "
> > May be this is Your tip?
> > PL
>
> Yes, and also read in: System support for buses > PCMCIA bus > PCMCIA IRQ
Routing on Windows XP.
>
> - PA
>
>



Re: Any complete sample PCMCIA driver code for WIN 2000 / XP? by Pavel

Pavel
Wed Feb 04 13:34:34 CST 2004

"Developer" <zeevf@hotmail.com> wrote in message news:O3%2382906DHA.1936@TK2MSFTNGP12.phx.gbl...
> What About the Original request for :
> Any complete sample PCMCIA driver code for WIN 2000 / XP?

and free :)

--





Re: Any complete sample PCMCIA driver code for WIN 2000 / XP? by Walter

Walter
Wed Feb 04 15:14:12 CST 2004

"Pavel A." wrote:
> "Developer" <zeevf@hotmail.com> wrote in message news:O3%2382906DHA.1936@TK2MSFTNGP12.phx.gbl...
> > What About the Original request for :
> > Any complete sample PCMCIA driver code for WIN 2000 / XP?
>
> and free :)

Not to mention (free) lifetime support.

--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com