sky2: advertising register 16 bits

The advertising bits (from ethtool.h) fit in 16 bits.
This commit is contained in:
Stephen Hemminger 2006-10-17 10:24:07 -07:00
parent 709c6e7bb0
commit 0edea0f54e
1 changed files with 1 additions and 1 deletions

View File

@ -1860,7 +1860,7 @@ struct sky2_port {
dma_addr_t rx_le_map;
dma_addr_t tx_le_map;
u32 advertising; /* ADVERTISED_ bits */
u16 advertising; /* ADVERTISED_ bits */
u16 speed; /* SPEED_1000, SPEED_100, ... */
u8 autoneg; /* AUTONEG_ENABLE, AUTONEG_DISABLE */
u8 duplex; /* DUPLEX_HALF, DUPLEX_FULL */