ibm_newemac: Add support for 460EX/GT-type MAL rx-channel handling
authorStefan Roese <sr@denx.de>
Tue, 22 Apr 2008 00:46:42 +0000 (10:46 +1000)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:06 +0000 (02:08 -0400)
commitafd1dee896e8b1cbd24258ac673aeccd803ff582
tree50c27c031cf6b6011d38a53c340e4a3f49769418
parentf34ebab68a8e3c80ff4364f4c61734faec5161d4
ibm_newemac: Add support for 460EX/GT-type MAL rx-channel handling

On some 4xx PPC's (e.g. 460EX/GT), the rx channel number is a multiple
of 8 (e.g. 8 for EMAC1, 16 for EMAC2), but enabling in MAL_RXCASR needs
the divided by 8 value for the bitmask.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ibm_newemac/mal.c