]> git.sur5r.net Git - u-boot/commit
drivers/net/vsc9953: Fix bug when enabling a port
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Fri, 24 Jul 2015 13:52:46 +0000 (16:52 +0300)
committerYork Sun <yorksun@freescale.com>
Mon, 21 Sep 2015 15:29:46 +0000 (08:29 -0700)
commitfe91095b799d21428bd39392650ca0b06789776e
tree44fb08e2699b75d8592ed920c04185d04607d697
parent3cc8cfffb21b618a51a51e746aac709a12540b79
drivers/net/vsc9953: Fix bug when enabling a port

When a port is enabled at init time, the initializing function
touches more bits than necessary to enable a port (also touches
reserved bits and default bit values). This patch fixes this issue
by changing the value of the define used to enable the port and
assures that no other bits are changes by replacing out_le32()
with setbits_le32().

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/vsc9953.c
include/vsc9953.h