[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DDAC1A5.20004@broadcom.com>
Date: Mon, 23 May 2011 22:20:53 +0200
From: "Arend van Spriel" <arend@...adcom.com>
To: "George Spelvin" <linux@...izon.com>
cc: "johannes@...solutions.net" <johannes@...solutions.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] lib: crc8: add new library module providing crc8
On 05/22/2011 05:25 PM, George Spelvin wrote:
> #define POLY 0xAB /* 1 + x^2 + x^4 + x^6 + x^7 (+ x^8) */
> typedef uint8_t crc_type; /* Must be an unsigned type */
>
I think I understand the code a bit better. Your code is generic for any
given crc_type.
Gr. AvS
--
Almost nobody dances sober, unless they happen to be insane.
-- H.P. Lovecraft --
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists