NdisRawWritePortUshort

VOID
NdisRawWritePortUshort(

IN ULONG Port,
IN USHORT Data
);

NdisRawWritePortUshort writes a USHORT value to an I/O port on the NIC.

Parameters

Port

Specifies the I/O port. This address falls in a range that was mapped during initialization with NdisMRegisterIoPortRange.

Data

Specifies the USHORT to be written.

Comments

NdisRawWritePortUshort runs faster than NdisImmediateWritePortUshort because it need not map a bus-relative I/O port address onto a host-dependent logical port address at every call.

Callers of NdisRawWritePortUshort can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortUshort, NdisRawWritePortBufferUshort, NdisRawWritePortUchar, NdisRawWritePortUlong