]> git.sur5r.net Git - u-boot/commit
drivers/net/rtl8139.c: rx_status should be le32_to_cpu(rx_status).
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Wed, 16 Jan 2008 07:13:31 +0000 (16:13 +0900)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 16 Jan 2008 22:37:35 +0000 (17:37 -0500)
commitc2f896b8fc4722e36915903e1942e138e68ce804
tree6783655dd54aacf1c4cce54cb1d144df65586b22
parent96a236746fe6a7b84802afb4ed31536696d34812
drivers/net/rtl8139.c: rx_status should be le32_to_cpu(rx_status).

rx_status on the memory is basically in LE, but needs to be handled in CPU
endian. le32_to_cpu() takes up this mission. Even if on the sane hardware,
it'll work fine.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Masami Komiya <mkomiya@sonare.it>
Cc: Lucas Jin <lucasjin@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/rtl8139.c