aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-10-17 10:24:07 -0700
committerStephen Hemminger <shemminger@osdl.org>2006-10-17 10:24:07 -0700
commit0edea0f54e1e28bdc1ce6b02d5ca3c4c878cf959 (patch)
tree362667dd0b62cf4af8e6769a9d756e06e2d2aef4 /drivers/net/sky2.h
parent709c6e7bb07411176ef9ef660242b1e59fc87a6f (diff)
downloadkernel_samsung_smdk4412-0edea0f54e1e28bdc1ce6b02d5ca3c4c878cf959.zip
kernel_samsung_smdk4412-0edea0f54e1e28bdc1ce6b02d5ca3c4c878cf959.tar.gz
kernel_samsung_smdk4412-0edea0f54e1e28bdc1ce6b02d5ca3c4c878cf959.tar.bz2
sky2: advertising register 16 bits
The advertising bits (from ethtool.h) fit in 16 bits.
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r--drivers/net/sky2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 43d2acc..0a8d821 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -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 */