net: smc911x: Add pkt_data_pull and pkt_data_push function
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Thu, 28 Aug 2008 04:40:44 +0000 (13:40 +0900)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 3 Sep 2008 04:18:19 +0000 (21:18 -0700)
commit33314470ab32a3f5412bb61b5f3d6c216c88bf9b
tree8f82839762993ce35c28079f8908d5f385c18d4d
parent10efa024b8ffd9e6aaca63da8bddfdffdc672274
net: smc911x: Add pkt_data_pull and pkt_data_push function

The RSK7203 board has the SMSC9118 wired up 'incorrectly'.
Byte-swapping is necessary, and so poor performance is inevitable.
This problem cannot evade by the swap function of CHIP, this can
evade by software Byte-swapping.
And this has problem by FIFO access only. pkt_data_pull/pkt_data_push
functions necessary to solve this problem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/smc911x.c