]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sky2: advertising register 16 bits
authorStephen Hemminger <shemminger@osdl.org>
Tue, 17 Oct 2006 17:24:07 +0000 (10:24 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Tue, 17 Oct 2006 17:24:07 +0000 (10:24 -0700)
The advertising bits (from ethtool.h) fit in 16 bits.

drivers/net/sky2.h

index 43d2accf60e12ccdbfaf57c4e166c30492936dd3..0a8d8210679a30c146ab7dd6200b5d3857554a7e 100644 (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 */