sky2: advertising register 16 bits
The advertising bits (from ethtool.h) fit in 16 bits.
This commit is contained in:
parent
709c6e7bb0
commit
0edea0f54e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user