> +/* CRC16 implementation acording to CCITT standards */
> +
> +static const unsigned short crc16tab[256]= {
> +     0x0000,0x1021,0x2042,0x3063,0x4084,0x50a5,0x60c6,0x70e7,

This table isn't needed, a UART stream is so slow that you can
just as well open-code the CRC algorithm and lose nothing (except
for 512 bytes of table :-) )


Segher


-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to