lkml.org 
[lkml]   [2004]   [Jun]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 29 Jun 2004 10:36:45 +0400
FromAndrey Panin <>
SubjectRe: [PATCH 4/4] 2.6.7-mm2, Use it in AX.25 drivers
On 180, 06 28, 2004 at 06:53:54PM +0200, Thomas Sailer wrote:
> On Thu, 2004-06-24 at 14:52, Andrey Panin wrote:
> > This patch makes AX.25 drivers use common crc16 code.
> 
> Hrm, isn't this bit of a misnamer? 
> 
> While the polynomial usually known as "CCITT" or "X25" is
> x^16+x^12+x^5+x^0, CRC-16 usually means the polynomial
> x^16+x^15+x^2+x^0. So to avoid confusion I suggest renaming it from
> CRC16 to CRCCCITT or similar...

Yeah I see, it's really CCITT CRC and it's really misnamed :(
I'll post a patch to fix it (probably tomorrow).

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke@donpac.ru		| PGP key: wwwkeys.pgp.net[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2008