]> git.karo-electronics.de Git - mv-sheeva.git/commit
tg3: Preserve PCIe MPS setting for new devs
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 25 Aug 2009 10:08:16 +0000 (10:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Aug 2009 22:47:53 +0000 (15:47 -0700)
commite7126997342560533317d8467e8516119ebcbd21
treecc592fc98d946756caa30dd6dccde7374d3af2e4
parent29ea095fb727ac48228ff2d1af484c27bf1dcbd4
tg3: Preserve PCIe MPS setting for new devs

Most older tg3 devices only supported a PCIe maximum payload size of
128 bytes.  More recent devices bump this limit up to 256 bytes
though.  This patch modifies the code so that the MPS limit is only
enforced on those devices that only allow the 128 byte setting.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c