HP rp5400 HP DLPI Programmer's Guide - Page 174
Dl_hp_drv_reset_mtu, Dl_hp_drv_duplex
View all HP rp5400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 174 highlights
DLPI Input/Output Controls Supported ioctls Table 3-2 • The drivers can define their own dl_request by using other bits that are not defined by DLPI. • If the ioctl fails, DLPI frees the b_cont mblk_t that contains the data associated with the ioctl. Format typededef struct dl_hp_set_drv_param_ioctl { dl_hp_drv_param_req_type_t dl_request; uint32_t dl_speed; dl_hp_duplex_mode_t dl_duplex; dl_hp_autoneg_sense_t dl_autoneg; uint32_t dl_mtu; uint64_t dl_value1; uint64_t dl_value2; uint64_t dl_value3; uint32_t dl_reserved1[2]; uint32_t dl_reserved2[2]; } dl_hp_set_drv_param_ioctl_t; Parameters dl_request Request type. The value is an enumeration of type dl_hp_drv_param_req_type_t (see Table 3-2). dl_hp_drv_param_req_type_t Enumeration Constant Value Description DL_HP_DRV_SPEED 0x1 DL_HP_DRV_DUPLEX 0x2 DL_HP_DRV_AUTONEG 0x4 DL_HP_DRV_MTU 0x8 DL_HP_DRV_RESET_MTU 0x10 DL_HP_VALUE1 0x20 dl_speed value is valid. dl_duplex value is valid. dl_autoneg value is valid. dl_mtu value is valid. Resets the MTU. dl_value1 is valid. 174 Chapter 3