]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
SPARC: added SMC91111 driver in and out macros for LEON processors.
authorDaniel Hellstrom <daniel@gaisler.com>
Mon, 31 Mar 2008 14:25:00 +0000 (14:25 +0000)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 1 Apr 2008 03:11:33 +0000 (23:11 -0400)
commit3eac6402a508b0f68a21cc9cbc2cc49347de0c31
treed2dd2ab81f8f28d9392a6b63cde7436c10a92156
parentbb8e3cf25bc0b04936c0c1a075985dd8700a244b
SPARC: added SMC91111 driver in and out macros for LEON processors.

This patch makes SPARC/LEON processors able to read and write
to the SMC91111 chip using the chip external I/O bus of the memory
controller. This patchs defines the standard in and out macros
expected by the SMC9111 driver.

To access that I/O bus one must set up the memory controller
(MCTRL or FTMCTRL) correctly. It is assumed that the user sets
up this correctly when the other MCTRL parameters are set up. It
can be set up from the board configuration header file.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/smc91111.h