diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_ixl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/if_ixl.c b/sys/dev/pci/if_ixl.c index 7aeebb96fee..887ffb69220 100644 --- a/sys/dev/pci/if_ixl.c +++ b/sys/dev/pci/if_ixl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ixl.c,v 1.45 2019/10/02 04:51:34 yasuoka Exp $ */ +/* $OpenBSD: if_ixl.c,v 1.46 2019/11/19 03:33:43 yasuoka Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -319,12 +319,12 @@ struct ixl_aq_phy_abilities { uint32_t phy_type; uint8_t link_speed; -#define IXL_AQ_PHY_LINK_SPEED_100MB 0x1 -#define IXL_AQ_PHY_LINK_SPEED_1000MB 0x2 -#define IXL_AQ_PHY_LINK_SPEED_10GB 0x3 -#define IXL_AQ_PHY_LINK_SPEED_40GB 0x4 -#define IXL_AQ_PHY_LINK_SPEED_20GB 0x5 -#define IXL_AQ_PHY_LINK_SPEED_25GB 0x6 +#define IXL_AQ_PHY_LINK_SPEED_100MB (1 << 1) +#define IXL_AQ_PHY_LINK_SPEED_1000MB (1 << 2) +#define IXL_AQ_PHY_LINK_SPEED_10GB (1 << 3) +#define IXL_AQ_PHY_LINK_SPEED_40GB (1 << 4) +#define IXL_AQ_PHY_LINK_SPEED_20GB (1 << 5) +#define IXL_AQ_PHY_LINK_SPEED_25GB (1 << 6) uint8_t abilities; uint16_t eee_capability; |