net/fm: Add support for 64-bit platforms
authorHou Zhiqiang <B48286@freescale.com>
Mon, 26 Oct 2015 11:47:44 +0000 (19:47 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 29 Oct 2015 17:33:59 +0000 (10:33 -0700)
commit9fc29db116d147adbee0ad07b0e72a657f961305
tree05a2a175e05611b2cab9c260072dd49397b114bb
parent648bde6d70ac94685ed454cb938e44454190f19a
net/fm: Add support for 64-bit platforms

The FMan IM driver is developed for 32-bit platfroms and isn't
friendly to 64-bit platforms, so do the minimal refactor:

1. Refine the MURAM management and access.
2. Correct the initialization and operations for QDs and BDs.

Signed-off-by: Hou Zhiqiang <B48286@freescale.com>
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fm/eth.c
drivers/net/fm/fm.c
drivers/net/fm/fm.h