]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NIU: More BMAC alt MAC address fixes.
authorMatheos Worku <Matheos.Worku@Sun.COM>
Wed, 5 Mar 2008 22:48:37 +0000 (14:48 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:04 +0000 (11:47 -0700)
commit958346d4b18fa1474a706a535396e94a6eaf5fb4
tree822af8477c3dcdba6691be3584c4640119c6a29b
parentbeeb75e6ebc60fb4323f9ce5cfeffaea5ccffc36
NIU: More BMAC alt MAC address fixes.

Upstream commit: fa907895b7b776208a1406efe5ba7ffe0f49f507

From: Matheos Worku <Matheos.Worku@Sun.COM>

1) niu_enable_alt_mac() needs to be adjusted so that the mask
   is computed properly for the BMAC case.

2) BMAC has 6 alt MAC addresses available, not 7.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/niu.c
drivers/net/niu.h