kernels/linux-2.4.0/drivers/net/macmace.c
/* Bit-reverse one byte of an ethernet hardware address. */
Bit-reverse one byte of an ethernet hardware address.
Bit - reverse one byte of an ethernet hardware address .
static int bitrev(int b)
{
    int d = 0, i;
    for (i = 0; i < 8; ++i, b >>= 1)
	d = (d << 1) | (b & 1);
    return d;
}
static int bitrev ( int b ) { int d = 0 , i ; for ( i = 0 ; i < 8 ; ++ i , b >>= 1 ) d = ( d << 1 ) | ( b & 1 ) ; return d ; }
Bit-reverse one byte of an ethernet hardware address.
Bit - reverse one byte of an ethernet hardware address .