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