]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r179647
authoryongari <yongari@FreeBSD.org>
Thu, 19 Jun 2008 01:36:31 +0000 (01:36 +0000)
committeryongari <yongari@FreeBSD.org>
Thu, 19 Jun 2008 01:36:31 +0000 (01:36 +0000)
commit7b5ba0d1c3b07d1f0df40d41fb49bcc87ac57743
tree4f64846394bc1c98e61bd3caf57187709a83213b
parent8cf870699c31657390efa045b16e101ad0a41399
MFC: r179647

Ethernet hardware address stored in DC_AL_PAR0/DC_AL_PAR1 register
is in little endian form. Likewise setting DC_AL_PAR0/DC_AL_PAR1
register expect the address to be in little endian form. For big
endian architectures the address should be swapped to get correct
one.
Change setting/getting ethernet hardware address to big endian
architecture frendly.

Reported by:    Robert Murillo ( billypilgrim782001 at yahoo dot com )
Tested by:      Robert Murillo ( billypilgrim782001 at yahoo dot com )
sys/dev/dc/if_dc.c