summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net: add eth_unregister functionSascha Hauer2009-04-071-0/+17
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eth.c: Fix return valuesSascha Hauer2009-04-061-6/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* allow changing of network deviceSascha Hauer2009-04-061-1/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused variablefredo2008-12-181-2/+0
| | | | | Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
* Ethernet: write MAC address to hardware when it's changedSascha Hauer2008-09-301-7/+5
| | | | | | | | | | Instead of writing the MAC address into the hardware on device open time write it to the hardware when the user changes the parameter. This way a user can change the MAC address in the hardware without actually using the device. This helps Linux Network drivers which expect a valid MAC address on startup. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nfs: fix calling of string_to_ip()Sascha Hauer2008-09-301-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix 62e2cd0a681c19fdc4180adf89e69709c696133bSascha Hauer2008-08-211-7/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove redundant assignmentSascha Hauer2008-08-201-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: initialize Net* variables unconditionally, not in a big switch/caseSascha Hauer2008-08-201-53/+12
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eth: check for valid parameters for ethaddr, ipaddr, ...Sascha Hauer2008-08-201-0/+32
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix string_to_ipSascha Hauer2008-08-202-15/+20
| | | | | | | | Use a pointer to an ip address instead of the return value in string_to_ip and use the return value for error indication only. 0.0.0.0 can be a valid ip address Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Coding style changesSascha Hauer2008-08-201-7/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add missing call to eth_halt()Sascha Hauer2008-08-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-v2Sascha Hauer2008-06-024-93/+28
|\
| * [net] cleanups:Sascha Hauer2008-04-073-443/+28
| | | | | | | | | | - remove cdp support - replace CONFIG_BOOTP_MASK with #ifdef CONFIG_...
| * remove unnessecary includeSascha Hauer2008-03-141-1/+0
| |
* | tftp.c: use sprintf instead of several strcpy functionsSascha Hauer2008-03-311-11/+2
| |
* | remove cdp support. Probably not working anymore anyway.Sascha Hauer2008-03-311-351/+0
| |
* | ping.c: remove volatile from variablesSascha Hauer2008-03-311-4/+4
| |
* | make nfs workSascha Hauer2008-03-311-6/+10
| |
* | fix typo and indentionSascha Hauer2008-03-211-2/+2
|/
* using a consistent ipaddr parameter all over the placeJuergen Beisert2007-11-082-2/+2
| | | | Signed-off-by: Juergen Beisert <jbe@octopus.labnet.pengutronix.de>
* When printing error messages about network parameters printsascha2007-10-181-3/+6
| | | | the network device id with it.
* check if there is an ethernet device set in NetLoopsascha2007-10-181-0/+5
|
* rename mac parameter to ethaddrsascha2007-10-181-1/+1
|
* change functions containing 'mac' or 'enet' in its name to 'ethaddr'.sascha2007-10-182-11/+11
| | | | change the parameter name for ethernet devices to 'ethaddr' aswell.
* remove unneeded colatile from variableSascha Hauer2007-10-111-1/+1
|
* fix compiler warningSascha Hauer2007-10-081-1/+1
|
* Use safe_strncpy() instead of copy_filename(). The shell has already removedSascha Hauer2007-09-282-15/+3
| | | | quotes, so we don't need this functionality from copy_filename()
* print_size() -> size_human_readable()Sascha Hauer2007-09-262-11/+10
| | | | return a pointer to a human readable string rather than printingit directly
* move dirname() and basename() to lib/libgen.c and add header fileSascha Hauer2007-09-241-27/+1
|
* remove u-boot command paramter flagSascha Hauer2007-09-241-1/+1
|
* - putc is now putchar for better standard conformitySascha Hauer2007-09-213-7/+7
| | | | - make printf return int
* Use unsigned char * for mac address. Otherwise (s)printf interpetsSascha Hauer2007-09-111-1/+1
| | | | | parts of the mac address as negative numbers and gives wrong results.
* remove debug printfSascha Hauer2007-07-111-2/+0
|
* svn_rev_683Sascha Hauer2007-07-051-5/+0
| | | | more cleanups, fix compiler warnings
* svn_rev_580Sascha Hauer2007-07-052-3/+5
|
* svn_rev_556Sascha Hauer2007-07-051-1/+1
| | | | unify help string style
* svn_rev_555Sascha Hauer2007-07-051-2/+1
| | | | menu formatting
* svn_rev_519Sascha Hauer2007-07-051-0/+5
| | | | set enet addr
* svn_rev_502Sascha Hauer2007-07-051-1/+1
| | | | complete multiple console support
* svn_rev_481Sascha Hauer2007-07-051-2/+2
| | | | make more char * const, fix compiler warnings
* svn_rev_469Sascha Hauer2007-07-052-9/+10
| | | | | - make some more char * const - dev_add_parameter -> dev_add_param
* svn_rev_462Sascha Hauer2007-07-051-1/+1
| | | | | | | - Add help texts for many commands. - Let the linker sort the command table. - Add support for multiple argmuments in several commands (mkdir, rmdir, rm, cat)
* svn_rev_440Sascha Hauer2007-07-051-1/+1
| | | | | what a silly bug of mine. Chances were good we generated a negative port number causing tftp to fail
* svn_rev_420Sascha Hauer2007-07-051-5/+5
| | | | | | | | | | | - do more POSIX: - use DIR instead of struct dirent - use (struct dirent)->d_name instead of (struct dirent)->name - switch to a new layout for U_BOOT_CMD: - use C99 initializers to be able to add more fields to the command struct - add aliases for commands (needed mainly for help -> ? and test -> [ - This is not done for all commands yet, but the compiler will tell you ;)
* svn_rev_408Sascha Hauer2007-07-051-3/+12
| | | | store_block can fail
* svn_rev_405Sascha Hauer2007-07-051-6/+4
| | | | add 0x for hex value in $filesize, remove $fileaddr
* svn_rev_394Sascha Hauer2007-07-051-40/+13
| | | | do not use global parameter set for all ethernet devices, this was broken
* svn_rev_370Sascha Hauer2007-07-051-0/+1
| | | | fixups for last commit