Force the link-state setting
int MDI_SetSpeedDuplex (mdi_t * mdi,
int PhyAddr,
intSpeed,
int Duplex)
- 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:
- half-duplex speed -- specify 0
- full-duplex speed -- specify 1.
The MDI_SetSpeedDuplex() function forces the link-state
to a specific setting instead of allowing link auto-negotiation
to occur.
QNX Neutrino
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |