From: Stephen Hemminger Date: Tue, 17 Oct 2006 17:24:07 +0000 (-0700) Subject: sky2: advertising register 16 bits X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0edea0f54e1e28bdc1ce6b02d5ca3c4c878cf959;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git sky2: advertising register 16 bits The advertising bits (from ethtool.h) fit in 16 bits. --- diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 43d2accf60e1..0a8d8210679a 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 */