VOID
NdisWriteRegisterUshort(
IN PUSHORT Register,
IN USHORT Data
);
NdisWriteRegisterUshort is called by the NIC driver to write a USHORT to a memory-mapped device register.
If a driver calls this function, its NIC’s device registers must be mapped to noncached memory during driver initialization.
Callers of NdisWriteRegisterUshort can be running at any IRQL.
MiniportInitialize, NdisMMapIoSpace, NdisReadRegisterUshort, NdisWriteRegisterUchar, NdisWriteRegisterUlong