Deleted Added
full compact
39c39
< /* $FreeBSD: stable/10/sys/dev/oce/oce_hw.h 257187 2013-10-26 19:02:39Z delphij $ */
---
> /* $FreeBSD: stable/10/sys/dev/oce/oce_hw.h 268046 2014-06-30 16:23:31Z delphij $ */
1026c1026
< /* [05] OPCODE_COMMON_QUERY_LINK_CONFIG */
---
> /* [05] OPCODE_COMMON_QUERY_LINK_CONFIG_V1 */
1035,1042c1035,1041
< /* dw 0 */
< uint8_t physical_port;
< uint8_t mac_duplex;
< uint8_t mac_speed;
< uint8_t mac_fault;
< /* dw 1 */
< uint8_t mgmt_mac_duplex;
< uint8_t mgmt_mac_speed;
---
> #ifdef _BIG_ENDIAN
> uint32_t physical_port_fault:8;
> uint32_t physical_port_speed:8;
> uint32_t link_duplex:8;
> uint32_t pt:2;
> uint32_t port_number:6;
>
1044c1043,1065
< uint32_t logical_link_status;
---
> uint16_t rsvd0;
>
> uint32_t rsvd1:21;
> uint32_t phys_fcv:1;
> uint32_t phys_rxf:1;
> uint32_t phys_txf:1;
> uint32_t logical_link_status:8;
> #else
> uint32_t port_number:6;
> uint32_t pt:2;
> uint32_t link_duplex:8;
> uint32_t physical_port_speed:8;
> uint32_t physical_port_fault:8;
>
> uint16_t rsvd0;
> uint16_t qos_link_speed;
>
> uint32_t logical_link_status:8;
> uint32_t phys_txf:1;
> uint32_t phys_rxf:1;
> uint32_t phys_fcv:1;
> uint32_t rsvd1:21;
> #endif