]> err.no Git - linux-2.6/blobdiff - drivers/net/sky2.c
[PATCH] sky2: add PCI for 88ec033
[linux-2.6] / drivers / net / sky2.c
index 0ef1848b97617030d74321f283e6869b48466937..a0563e0b0bb19700e1fb4f9f33707bf567283ab1 100644 (file)
@@ -117,6 +117,7 @@ static const struct pci_device_id sky2_id_table[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4351) },
        { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4352) },
        { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4353) },
+       { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4356) },
        { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4360) },
        { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4361) },
        { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4362) },
@@ -1350,7 +1351,7 @@ static int sky2_xmit_frame(struct sk_buff *skb, struct net_device *dev)
                u32 tcpsum;
 
                tcpsum = offset << 16;          /* sum start */
-               tcpsum |= offset + skb->csum;   /* sum write */
+               tcpsum |= offset + skb->csum_offset;    /* sum write */
 
                ctrl = CALSUM | WR_SUM | INIT_SUM | LOCK_SUM;
                if (skb->nh.iph->protocol == IPPROTO_UDP)