diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 18:36:19 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 14:19:21 -0500 |
commit | 10cbe3b6a4b2289906fc94bb26810191607ee748 (patch) | |
tree | aeb321b6e60c0edeb025a73955651dc064e962ec /arch/mips | |
parent | d1527b55f5ab162f2d17600ffc2744c2ea39d356 (diff) | |
download | u-boot-imx-10cbe3b6a4b2289906fc94bb26810191607ee748.zip u-boot-imx-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.gz u-boot-imx-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.bz2 |
net: Fix remaining API interface breakage
These are all the files which use the API incorrectly but did not get
built using MAKEALL -a powerpc|arm. I have no compiler for them, but
the remaining issues should be far less than without this patch.
Any outstanding issues are left to the maintainers of boards that use
these drivers.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/cpu/mips32/au1x00/au1x00_eth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/cpu/mips32/au1x00/au1x00_eth.c b/arch/mips/cpu/mips32/au1x00/au1x00_eth.c index c510799..ac03a45 100644 --- a/arch/mips/cpu/mips32/au1x00/au1x00_eth.c +++ b/arch/mips/cpu/mips32/au1x00/au1x00_eth.c @@ -147,7 +147,8 @@ int au1x00_miiphy_write(const char *devname, unsigned char addr, } #endif -static int au1x00_send(struct eth_device* dev, volatile void *packet, int length){ +static int au1x00_send(struct eth_device *dev, void *packet, int length) +{ volatile mac_fifo_t *fifo_tx = (volatile mac_fifo_t*)(MAC0_TX_DMA_ADDR+MAC_TX_BUFF0_STATUS); int i; |