Skip to content

Commit

Permalink
sky2: advertising register 16 bits
Browse files Browse the repository at this point in the history
The advertising bits (from ethtool.h) fit in 16 bits.
  • Loading branch information
Stephen Hemminger committed Oct 17, 2006
1 parent 709c6e7 commit 0edea0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sky2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0edea0f

Please sign in to comment.