summaryrefslogtreecommitdiff
path: root/drivers/net/amd8111e.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-12-02 03:10:50 +0300
committerJeff Garzik <jeff@garzik.org>2006-12-02 08:22:30 +0300
commit6b4bdde61bd1f8451801e5fb092cbe2d1050984e (patch)
treed9d7b854aed6eca49de9d8f600466130bd885efb /drivers/net/amd8111e.h
parentb0a20ded562cfa60b0d45d269e416f541f2d5aaf (diff)
downloadlinux-6b4bdde61bd1f8451801e5fb092cbe2d1050984e.tar.xz
[PATCH] amd8111e use standard CRC lib
I noticed this driver (and several others) reinvent their own copy of the existing CRC library. Don't have the hardware, but tested by extracting code and comparing result. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/amd8111e.h')
-rw-r--r--drivers/net/amd8111e.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/amd8111e.h b/drivers/net/amd8111e.h
index 7727d328f65e..2007510c4eb6 100644
--- a/drivers/net/amd8111e.h
+++ b/drivers/net/amd8111e.h
@@ -651,10 +651,6 @@ typedef enum {
/* driver ioctl parameters */
#define AMD8111E_REG_DUMP_LEN 13*sizeof(u32)
-/* crc generator constants */
-#define CRC32 0xedb88320
-#define INITCRC 0xFFFFFFFF
-
/* amd8111e desriptor format */
struct amd8111e_tx_dr{