23 Nov, 2013
1 commit
-
This fixes the following compiler warnings when activating
CONFIG_MCAST_TFTP:tsec.c: In function 'tsec_mcast_addr':
tsec.c:130:2: warning: passing argument 2 of 'ether_crc' makes pointer
from integer without a cast [enabled by default]
In file included from /work/u-boot-net/include/common.h:874:0,
from tsec.c:15:
/work/u-boot-net/include/net.h:189:5: note: expected 'const unsigned
char *' but argument is of type 'u8'
tsec.c: In function 'tsec_initialize':
tsec.c:646:13: warning: assignment from incompatible pointer type
[enabled by default]
eth.c: In function 'eth_mcast_join':
eth.c:358:2: warning: passing argument 2 of 'eth_current->mcast' makes
integer from pointer without a cast [enabled by default]
eth.c:358:2: note: expected 'u32' but argument is of type 'u8 *'In the eth_mcast_join() implementation, eth_current->mcast()
takes a u8 pointer to the multicast mac address and not a ip
address value as implied by its prototype.Fix parameter type mismatch for tsec_macst_addr() (tsec.c):
ether_crc() takes a u8 pointer not a u8 value.
mcast() is given a u8 pointer to the multicats mac address.
Update parameter type for the rest of mcast() instances.Signed-off-by: Claudiu Manoil
Patch: 278989
23 May, 2012
1 commit
-
Fix this:
rtl8139.c: In function 'rtl8139_initialize':
rtl8139.c:234:13: warning: assignment from incompatible pointer typeSigned-off-by: Joe Hershberger
08 Nov, 2011
1 commit
-
Fix:
rtl8139.c: In function 'rtl8139_probe':
rtl8139.c:256:15: warning: variable 'fullduplex' set but not used
[-Wunused-but-set-variable]
rtl8139.c:256:6: warning: variable 'speed10' set but not used
[-Wunused-but-set-variable]
rtl8139.c: In function 'rtl_transmit':
rtl8139.c:419:16: warning: variable 'txstatus' set but not used
[-Wunused-but-set-variable]Change code to use new debug macros; also fix the new errors and
warnigns popping up now, like "error: 'to' undeclared" and some
"warning: format '%X' expects argument of type 'unsigned int', but
argument X has type 'long unsigned int'"Signed-off-by: Wolfgang Denk
15 Nov, 2010
1 commit
-
rtl8139 driver does not have write_hwaddr function.
However, eth stuff executes write_hwaddr function
because eth_device structure has not been initialized.Signed-off-by: Nobuhiro Iwamatsu
CC: Ben Warren
21 Oct, 2008
1 commit
-
Signed-off-by: Wolfgang Denk
03 Sep, 2008
1 commit
-
Affected boards:
hidden_dragon
MPC8544DS
MPC8610HPCN
R2DPLUS
TB0229Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren
10 Jun, 2008
1 commit
-
Replace COBJS-y with appropriate driver config names.
Signed-off-by: Shinya Kuribayashi
Signed-off-by: Ben Warren
17 Jan, 2008
3 commits
-
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
Cc: Masami Komiya
Cc: Lucas Jin
Signed-off-by: Ben Warren -
Current driver is meant for cache coherent systems. This patch adds
flush_cache() routines to support cache non-coherent systems.Signed-off-by: Shinya Kuribayashi
Cc: Masami Komiya
Cc: Lucas Jin
Signed-off-by: Ben Warren -
"to = (currticks() + RTL_TIMEOUT)" has possibilities to wrap around. If it
does, the condition "(currticks() < to)" becomes invalid and immediately
leads to tx timeout error. This patch introduces the fine-graded udely(10)
loops to ease the impact of wrapping around.Signed-off-by: Shinya Kuribayashi
Cc: Masami Komiya
Cc: Lucas Jin
Signed-off-by: Ben Warren
10 Jan, 2008
1 commit
-
Change return values of init() functions in all Ethernet drivers to conform
to the following:>=0: Success
Acked-by: Stefan Roese
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Kim Phillips
Acked-by: Haavard Skinnemoen
Acked-By: Timur Tabi
26 Nov, 2007
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD