aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-10 09:50:24 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-18 18:03:47 -0400
commitf567ef935094003ee70ea3fd10f5695d349c0f48 (patch)
tree6259ac64133506c683c9449e6fcb93a490d2f445
parent757d18faee58aa4c43bcaf9a44decf17fa68adeb (diff)
[PATCH] sb1250-mac: Check the actual setting for reporting hw checksumming.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> drivers/net/sb1250-mac.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r--drivers/net/sb1250-mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c
index 7abd55a4fb21..0f828da0339d 100644
--- a/drivers/net/sb1250-mac.c
+++ b/drivers/net/sb1250-mac.c
@@ -2419,7 +2419,7 @@ static int sbmac_init(struct net_device *dev, int idx)
2419 if (err) 2419 if (err)
2420 goto out_uninit; 2420 goto out_uninit;
2421 2421
2422 if (periph_rev >= 2) { 2422 if (sc->rx_hw_checksum == ENABLE) {
2423 printk(KERN_INFO "%s: enabling TCP rcv checksum\n", 2423 printk(KERN_INFO "%s: enabling TCP rcv checksum\n",
2424 sc->sbm_dev->name); 2424 sc->sbm_dev->name);
2425 } 2425 }