NdisWriteRegisterUlong

VOID
NdisWriteRegisterUlong(

IN PULONG Register,
IN ULONG Data
);

NdisWriteRegisterUlong is called by the NIC driver to write a ULONG to a memory-mapped device register.

Parameters

Register

Points to the memory-mapped register. This virtual address must fall within a range returned by an initialization-time call to NdisMMapIoSpace.

Data

Specifies the caller-supplied ULONG that this function transfers to the Register.

Comments

If a driver calls this function, its NIC's device registers must be mapped to noncached memory during driver initialization.

Callers of NdisWriteRegisterUlong can be running at any IRQL.

See Also

MiniportInitialize, NdisMMapIoSpace, NdisReadRegisterUlong, NdisWriteRegisterUchar, NdisWriteRegisterUshort