- 18 11月, 2010 5 次提交
-
-
由 Daniel Hellstrom 提交于
Signed-off-by: NDaniel Hellstrom <daniel@gaisler.com>
-
由 Daniel Hellstrom 提交于
Signed-off-by: NDaniel Hellstrom <daniel@gaisler.com>
-
由 Daniel Hellstrom 提交于
Signed-off-by: NDaniel Hellstrom <daniel@gaisler.com>
-
由 Matthew McClintock 提交于
Typo from 4b29bdb0Signed-off-by: NMatthew McClintock <msm@freescale.com>
-
由 Sebastien Carlier 提交于
Before this commit, weak symbols were not overridden by non-weak symbols found in archive libraries when linking with recent versions of binutils. As stated in the System V ABI, "the link editor does not extract archive members to resolve undefined weak symbols". This commit changes all Makefiles to use partial linking (ld -r) instead of creating library archives, which forces all symbols to participate in linking, allowing non-weak symbols to override weak symbols as intended. This approach is also used by Linux, from which the gmake function cmd_link_o_target (defined in config.mk and used in all Makefiles) is inspired. The name of each former library archive is preserved except for extensions which change from ".a" to ".o". This commit updates references accordingly where needed, in particular in some linker scripts. This commit reveals board configurations that exclude some features but include source files that depend these disabled features in the build, resulting in undefined symbols. Known such cases include: - disabling CMD_NET but not CMD_NFS; - enabling CONFIG_OF_LIBFDT but not CONFIG_QE. Signed-off-by: NSebastien Carlier <sebastien.carlier@gmail.com>
-
- 15 11月, 2010 11 次提交
-
-
由 Kumar Gala 提交于
nic and hw structures are allocated via malloc i.e. return memory is not zero initialized. Because of this few structure member like "function pointers" are initialized with garbage values. It may cause problem. for eg. during eth_initialize, dev->write_hwaddr is used. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Fixed typo. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Nobuhiro Iwamatsu 提交于
uli526x 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
tsi108_eth 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
pcnet 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
ns8382x 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
natsemi 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
This prevents access to the member of eth_device which is not initialized. Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
eepro100 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
dc2114x 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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
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: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Nobuhiro Iwamatsu 提交于
rtl8169 does not have write_hwaddr function. However, eth stuff executes write_hwaddr function because eth_device structure has not been initialized. Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- 30 10月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
By now, the majority of architectures have working relocation support, so the few remaining architectures have become exceptions. To make this more obvious, we make working relocation now the default case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC. Signed-off-by: NWolfgang Denk <wd@denx.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
- 20 10月, 2010 2 次提交
-
-
由 Kumar Gala 提交于
uli526x.c: In function 'uli526x_init_one': uli526x.c:314:2: warning: dereferencing type-punned pointer will break strict-aliasing rules uli526x.c:314:2: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 John Rigby 提交于
Call fec_set_hwaddr in init routine to setup MAC address so when ethaddr is set late via setenv the change will propagate to the hw. Signed-off-by: NJohn Rigby <john.rigby@linaro.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- 12 10月, 2010 9 次提交
-
-
由 Thomas Chou 提交于
Add smc_write_hwaddr() to set mac address. Clear dev before use. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Acked-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Ben Gardiner 提交于
This patch proposes to migrate the davinci_emac driver to using the eth_device->write_hwaddr function pointer as suggested by Ben Warren. All the davinci boards had the behaviour, prior to this patch, of sync'ing the environment variable enetaddr with the MAC address read from non-volatile storage on boot -- when the two locations disagreed, the environment variable value took precendence. This patch keeps the same behaviour but lets eth_initialize take care of it. This patch refactors davinci_emac setup in the boards so that the MAC address is read from non-volatile storage into the environment variable and then the environment variable value is use in eth_intialize. The only exception is the direct call to davinci_eth_set_mac_addr made by the da830evm board init which was changed into an assignment of the enetaddr field. Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca> Tested-by: NNick Thompson <nick.thompson@ge.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Michal Simek 提交于
Emaclite was using old net api that's why this patch move emaclite to NET_MULTI api. Signed-off-by: NMichal Simek <monstr@monstr.eu> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Michal Simek 提交于
Support New emaclite AXI IP. Signed-off-by: NMichal Simek <monstr@monstr.eu> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Ilya Yanok 提交于
Some boards need their board-specific PHY quirks to be called to PHY to work normally. As mpc5xxx_fec driver uses on demand PHY initialization and can even reinit PHY during normal operation we can't count on reset_phy() call from arch/<arch>/lib/board.c (it is most likely called _before_ we init the PHY from the driver) so we need to add call to reset_phy() directly in the driver. Signed-off-by: NIlya Yanok <yanok@emcraft.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Andreas Bießmann 提交于
Some return values pretended correct pass. This patch changes them according to README.drivers.net. This patch changes e.g. command 'dhcp' to stop after errorneous autonegotiation. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Andreas Bießmann 提交于
This patch increases timeout for autonegotiation from 1 second to 3 seconds. Some boards (e.g. at91rm9200ek) did not negotiate within 1 second. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Reinhard Meyer 提交于
V3: further refinements: - use priv member instead of container method - allow setting of MAC address by write_hwaddr method - avoid shutting down link between commands Signed-off-by: NReinhard Meyer <u-boot@emk-elektronik.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Reinhard Meyer (-VC) 提交于
This patch is required before the upcoming new enc28j60 driver using SPI framework patch can be applied: - Move legacy enc28j60.c to enc28j60_lpc2292.c. - Change Makefile and the two affected boards' definition files. Tested with ./MAKEALL ARM7 that both boards still compile. Signed-off-by: Reinhard Meyer<info@emk-elektronik.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 05 10月, 2010 2 次提交
-
-
由 Andreas Bießmann 提交于
This patch replaces the unnecessary waiting in at91emac_read() and at91emac_write() by checking the IDLE flag. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Andreas Bießmann 提交于
This patch also removes conditional nameing of at91_emac driver whether it's connection to PHY is RMII or MII. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
- 03 10月, 2010 1 次提交
-
-
由 Mike Frysinger 提交于
The old MMR defines are being scrubbed, so convert the driver to use the new standard helper macros. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 23 9月, 2010 2 次提交
-
-
由 Stefan Roese 提交于
This patch starts a bit PPC4xx header cleanup. First patch mostly touches PPC440 files. A later patch will touch the PPC405 files as well. This cleanup is done by creating header files for all SoC versions and moving the SoC specific defines into these special headers. This way the common header ppc405.h and ppc440.h can be cleaned up finally. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This patch moves some ppc4xx related headers from the common include directory (include/) to the powerpc specific one (arch/powerpc/include/asm/). This way to common include directory is not so cluttered with files. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 10 8月, 2010 4 次提交
-
-
由 Ben Warren 提交于
Commit 6e37b1a3a25004d3df5867de49fff6b3fc9c4f04 modifies several net calls to take a (const char *) parameter instead of (char *), but in some cases the modified functions call other functions taking (char *). The end result is warnings about discarding the const qualifier. This patch fixes these other function signatures. Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Mike Frysinger 提交于
The driver name does not need to be writable, so constify it. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Heiko Schocher 提交于
since commit 1384f3bb ethernet names with spaces drop a Warning: eth device name has a space! message. This patch fix it for: - "FEC ETHERNET" devices found on mpc512x, mpc5xxx, mpc8xx and mpc8220 boards. renamed to "FEC". - "SCC ETHERNET" devices found on mpc8xx, mpc82xx based boards. Renamed to "SCC". - "HDLC ETHERNET" devices found on mpc8xx boards Renamed to "HDLC" - "FCC ETHERNET" devices found on mpc8260 and mpc85xx based boards. Renamed to "FCC" Tested on the kup4k board. Signed-off-by: NHeiko Schocher <hs@denx.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Stefano Babic 提交于
After discussion on the ML it is suggested to drop unrequired and not useful characters from the device name. This patch changes the name for the fec_mxc driver from "FEC_MXC" to "FEC". Signed-off-by: NStefano Babic <sbabic@denx.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 06 8月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
Some commands (like 'mii') use this name to select devices, but they break when those names contain spaces. So drop the space from Ethernet driver names (cf. commit 1384f3bb). Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Ben Warren <biggerbadderben@gmail.com>
-
- 14 7月, 2010 2 次提交
-
-
由 Mike Frysinger 提交于
Some commands (like 'mii') use this name to select devices, but they break when those names contain spaces. So drop the space from the Blackfin EMAC driver. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
Rather than bang MMRs directly, use the new portmux framework to handle the details. While we're doing this, let boards declare the exact list of pins they need in case there is one or two they don't actually have hooked up. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Acked-by: NBen Warren <biggerbadderben@gmail.com>
-