net: NEWEMAC: Fix problem with mtu > 4080 on non TAH equipped 4xx PPC's
commitee63d22b8953fd0dde22f52c0bc17a304ae50403
authorStefan Roese <sr@denx.de>
Wed, 16 Jan 2008 07:11:15 +0000 (16 08:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:04 +0000 (28 15:08 -0800)
treeedd2f9d402c1956b22a9b00f6a842d7fa28a5dfd
parent3ec9c11da03342b556f11724ea005e60160bc744
net: NEWEMAC: Fix problem with mtu > 4080 on non TAH equipped 4xx PPC's

Currently, all non TAH equipped 4xx PPC's call emac_start_xmit() upon
xmit. This routine doesn't check if the frame length exceeds the max.
MAL buffer size.

This patch now changes the driver to call emac_start_xmit_sg() on all
GigE platforms and not only the TAH equipped ones (440GX). This enables
an MTU of 9000 instead 4080.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibm_newemac/core.c