[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MDI_SetSpeedDuplex()

Force the link-state setting

Synopsis:

int MDI_SetSpeedDuplex  (mdi_t * mdi,
                        int PhyAddr,
                        intSpeed,
                        int Duplex)

Arguments:

mdi
A pointer to the mdi_t structure obtained from the MDI_Register_Extended() function call.
PhyAddr
The physical address of the physical layer device (PHY) for which the link is to be forced.
Speed
The bit rate, in megabits per second, at which the PHY should operate.
Duplex
The speed at which to operate. Choices are:

Description:

The MDI_SetSpeedDuplex() function forces the link-state to a specific setting instead of allowing link auto-negotiation to occur.

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

[Previous] [Contents] [Index] [Next]