]> git.baikalelectronics.ru Git - kernel.git/commit
net: encx24j600: Fix mask to update LED configuration
authorJon Ringle <jringle@gridpoint.com>
Thu, 22 Oct 2015 19:09:04 +0000 (15:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Oct 2015 01:23:45 +0000 (18:23 -0700)
commit9f78241cc267cbbb15a0062cdbab9fe91e93b34a
tree49986af8eda88440a5568415f9fd664060d209e0
parent48b23c2bddf1866529b986babf34c595f1ebdf42
net: encx24j600: Fix mask to update LED configuration

This fixes the mask used to update the LED configuration so that it clears
the necessary bits as well as setting the bits according to the mask.
Also reverse the LED configuration to show the Link state + collisions in
LEDA and the Link state + TX/RX events in LEDB.

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/encx24j600.c