patch-2.4.10 linux/drivers/net/3c59x.c

Next file: linux/drivers/net/8139too.c
Previous file: linux/drivers/mtd/nftlcore.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/net/3c59x.c linux/drivers/net/3c59x.c
@@ -1299,14 +1299,9 @@
 	/* The 3c59x-specific entries in the device structure. */
 	dev->open = vortex_open;
 	if (vp->full_bus_master_tx) {
-		struct sysinfo sysinfo;
-
 		dev->hard_start_xmit = boomerang_start_xmit;
-		si_meminfo(&sysinfo);
-		if (sysinfo.totalhigh == 0) {
-			/* Actually, it still should work with iommu. */
-			dev->features |= NETIF_F_SG;
-		}
+		/* Actually, it still should work with iommu. */
+		dev->features |= NETIF_F_SG;
 		if (((hw_checksums[card_idx] == -1) && (vp->drv_flags & HAS_HWCKSM)) ||
 					(hw_checksums[card_idx] == 1)) {
 				dev->features |= NETIF_F_IP_CSUM;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)