OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [sh/] [lib/] [old-checksum.c] - Rev 1765

Compare with Previous | Blame | View Log

/*
 * FIXME: old compatibility stuff, will be removed soon.
 */
 
#include <net/checksum.h>
 
unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum)
{
	int src_err=0, dst_err=0;
 
	sum = csum_partial_copy_generic ( src, dst, len, sum, &src_err, &dst_err);
 
	if (src_err || dst_err)
		printk("old csum_partial_copy_fromuser(), tell mingo to convert me.\n");
 
	return sum;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.