From: Anand Choubey on
Hi

I have PCI NIC card. This crad does not have Port reange. This card is
having only
memory mapped region.

I used NdisMMapIoSpace api in order to get virtual address.
I want to read and write somthing on Virtual Address.
Does NDIS support any apis for it or there is any special way?
--
With regards
thanks
Anand Choubey
From: Stephan Wolf [MVP] on
See

NdisReadRegisterUchar()
NdisReadRegisterUshort()
NdisReadRegisterUlong()

NdisWriteRegisterUchar()
NdisWriteRegisterUshort()
NdisWriteRegisterUlong()

Stephan
---
Anand Choubey wrote:
> Hi
>
> I have PCI NIC card. This crad does not have Port reange. This card is
> having only
> memory mapped region.
>
> I used NdisMMapIoSpace api in order to get virtual address.
> I want to read and write somthing on Virtual Address.
> Does NDIS support any apis for it or there is any special way?
> --
> With regards
> thanks
> Anand Choubey

From: Anand Choubey on
Hi

Again Thanks To Stephan .
--
With regards
thanks
Anand Choubey


"Stephan Wolf [MVP]" wrote:

> See
>
> NdisReadRegisterUchar()
> NdisReadRegisterUshort()
> NdisReadRegisterUlong()
>
> NdisWriteRegisterUchar()
> NdisWriteRegisterUshort()
> NdisWriteRegisterUlong()
>
> Stephan
> ---
> Anand Choubey wrote:
> > Hi
> >
> > I have PCI NIC card. This crad does not have Port reange. This card is
> > having only
> > memory mapped region.
> >
> > I used NdisMMapIoSpace api in order to get virtual address.
> > I want to read and write somthing on Virtual Address.
> > Does NDIS support any apis for it or there is any special way?
> > --
> > With regards
> > thanks
> > Anand Choubey
>
>