HP A4500A HP DLPI Programmer's Guide - Page 177
DL_HP_GET_DRV_PARAM_IOCTL, DL_HP_GET_DRV_PARAM_IOCTL is a DLPI defined transparent ioctl
View all HP A4500A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 177 highlights
Chapter 3 DLPI Input/Output Controls Supported ioctls DL_HP_GET_DRV_PARAM_IOCTL DL_HP_GET_DRV_PARAM_IOCTL is a DLPI defined transparent ioctl that retrieves the driver parameters. Before using DL_HP_GET_DRV_PARAM_IOCTL, please note the following points: • DLPI does not interpret the request of this ioctl. You must use this request between the driver's user space application and the driver. • The DL_HP_SERIALIZE bit is ignored for DL_HP_GET_DRV_PARAM_IOCTL. • The drivers can define their own dl_request by using other bits that are not defined by DLPI. Format typededef struct dl_hp_get_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_get_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 on page 174). dl_speed Speed of the underlying link in Mbits/sec. dl_duplex Duplex mode (full or half). The value is an enumeration of type dl_hp_duplex_mode_t (see Table 3-3 on page 175). 177