Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
tristate "VIA Velocity support"
depends on NET_PCI && PCI
select CRC32
- select CRC16
select MII
help
If you have a VIA "Velocity" based network card say Y here.
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/udp.h>
-#include <linux/crc16.h>
+#include <linux/crc-ccitt.h>
#include <linux/crc32.h>
#include "via-velocity.h"
continue;
}
mask >>= 1;
- crc = crc16(crc, &(pattern[i * 8 + j]), 1);
+ crc = crc_ccitt(crc, &(pattern[i * 8 + j]), 1);
}
}
/* Finally, invert the result once to get the correct data */