MDI_SetSpeedDuplex
![]() |
![]() |
![]() |
![]() |
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 MDI_Register() or MDI_Register_Extended().
- 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.
Description:
The MDI_SetSpeedDuplex() function forces the link state to a specific setting instead of allowing link autonegotiation to occur.
Classification:
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
See also:
MDI_Register(), MDI_Register_Extended()
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)