commit | 507399f18ea5810de42f0ea228c14305a8f67512 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Fri Nov 13 13:03:37 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 15 22:14:39 2009 -0800 |
tree | cbb2d9dad6f78a08d40276137256368c5f416ab9 | |
parent | f66a29b03a2637ff052f2b8a81a5417fa44e228b [diff] |
tg3: Refine TSO and MSI discovery This patch consolidates the TSO capability discovery code into its own code block. The code that decides whether or not to allow TSO is then cleaned up. Finally, the patch consolidates all MSI and MSIX capability code into a single code block. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>