Commit 0edea0f5 authored by Stephen Hemminger's avatar Stephen Hemminger

sky2: advertising register 16 bits

The advertising bits (from ethtool.h) fit in 16 bits.
parent 709c6e7b
...@@ -1860,7 +1860,7 @@ struct sky2_port { ...@@ -1860,7 +1860,7 @@ struct sky2_port {
dma_addr_t rx_le_map; dma_addr_t rx_le_map;
dma_addr_t tx_le_map; dma_addr_t tx_le_map;
u32 advertising; /* ADVERTISED_ bits */ u16 advertising; /* ADVERTISED_ bits */
u16 speed; /* SPEED_1000, SPEED_100, ... */ u16 speed; /* SPEED_1000, SPEED_100, ... */
u8 autoneg; /* AUTONEG_ENABLE, AUTONEG_DISABLE */ u8 autoneg; /* AUTONEG_ENABLE, AUTONEG_DISABLE */
u8 duplex; /* DUPLEX_HALF, DUPLEX_FULL */ u8 duplex; /* DUPLEX_HALF, DUPLEX_FULL */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment