fix 3c59x for current 2.5-bk

fix 3c59x for current 2.5-bk

Post by Andrew Morto » Fri, 18 Oct 2002 03:40:07



The networking guys have been doing stuff, and the following
patch from Alexey is needed to make the 3c59x ethernet driver
work with udp.  It teaches driver to add hardware checksums to
outgoing UDP frames.

--- 2.5.43/drivers/net/3c59x.c~3c59x-udp-csum   Wed Oct 16 11:59:43 2002

        if (skb->ip_summed != CHECKSUM_HW)
                        vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded);
        else
-                       vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded | AddTCPChksum);
+                       vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded | AddTCPChksum | AddUDPChksum);

        if (!skb_shinfo(skb)->nr_frags) {
                vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(vp->pdev, skb->data,

.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Compile fix for current 2.5 BK.

Hallo,

I need the patch below to make the scsi subsystem compile on
my machine. It's against a bk 2.5 snapshot of today.

Please apply,
Patrick

--- ./bk-2.5/include/scsi/scsi_ioctl.h  2002-10-13 15:07:52.000000000 +0200

        unsigned char host_wwn[8]; // include NULL term.
 } Scsi_FCTargAddress;

+extern int scsi_set_medium_removal(Scsi_Device *dev, char state);
 extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int scsi_ioctl_send_command(Scsi_Device *dev,
                                   Scsi_Ioctl_Command *arg);
-
 #endif

 #endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. input subsys. typos

3. 2.5 current bk fix setting scsi queue depths

4. DENY in firewalls

5. Compile fix for 2.5 BK current

6. user account

7. timer hang with current 2.5 BK

8. project planning software

9. 2.5.xx (BK current) hangs executing rpcinfo

10. EHCI Kernel panic on current BK 2.5

11. 2.5 bk current ohci1394 breakage

12. DAC960 breakage, 2.5 bk current

13. compile problem in current BK 2.5