add atheros patch to enable annoying printks as atheros eth driver has no cheksum support
SVN-Revision: 9274
This commit is contained in:
		
							
								
								
									
										26
									
								
								target/linux/atheros/patches/150-bridge-printk.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								target/linux/atheros/patches/150-bridge-printk.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | |||||||
|  | --- linux-2.6.23.orig/net/core/dev.c	2007-10-12 23:42:06.000000000 +0200 | ||||||
|  | +++ linux-2.6.23/net/core/dev.c	2007-10-12 23:44:22.000000000 +0200 | ||||||
|  | @@ -3425,8 +3425,8 @@ | ||||||
|  |  	/* Fix illegal SG+CSUM combinations. */ | ||||||
|  |  	if ((dev->features & NETIF_F_SG) && | ||||||
|  |  	    !(dev->features & NETIF_F_ALL_CSUM)) { | ||||||
|  | -		printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n", | ||||||
|  | -		       dev->name); | ||||||
|  | +		//printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n", | ||||||
|  | +		//       dev->name); | ||||||
|  |  		dev->features &= ~NETIF_F_SG; | ||||||
|  |  	} | ||||||
|  |   | ||||||
|  | @@ -3439,9 +3439,9 @@ | ||||||
|  |  	} | ||||||
|  |  	if (dev->features & NETIF_F_UFO) { | ||||||
|  |  		if (!(dev->features & NETIF_F_HW_CSUM)) { | ||||||
|  | -			printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no " | ||||||
|  | -					"NETIF_F_HW_CSUM feature.\n", | ||||||
|  | -							dev->name); | ||||||
|  | +			//printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no " | ||||||
|  | +			//		"NETIF_F_HW_CSUM feature.\n", | ||||||
|  | +			//				dev->name); | ||||||
|  |  			dev->features &= ~NETIF_F_UFO; | ||||||
|  |  		} | ||||||
|  |  		if (!(dev->features & NETIF_F_SG)) { | ||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin