[PATCH] sb1250-mac: Check the actual setting for reporting hw checksumming.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Oct 2005 13:50:24 +0000 (14:50 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 18 Oct 2005 22:03:47 +0000 (18:03 -0400)
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>
drivers/net/sb1250-mac.c

index 7abd55a4fb21fecf9e0e6204fafb490117ca464a..0f828da0339d85cb2ff67d757756de9eec17c28d 100644 (file)
@@ -2419,7 +2419,7 @@ static int sbmac_init(struct net_device *dev, int idx)
        if (err)
                goto out_uninit;
 
-       if (periph_rev >= 2) {
+       if (sc->rx_hw_checksum == ENABLE) {
                printk(KERN_INFO "%s: enabling TCP rcv checksum\n",
                        sc->sbm_dev->name);
        }