summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
* svn_rev_369Sascha Hauer2007-07-051-1/+0
| | | | include asm-generic in errno.h instead of all other files
* svn_rev_346Sascha Hauer2007-07-051-0/+5
|
* svn_rev_345Sascha Hauer2007-07-051-1/+1
|
* svn_rev_329Sascha Hauer2007-07-051-2/+3
| | | | remove volatile
* svn_rev_323Sascha Hauer2007-07-051-2/+2
| | | | priv -> type_data, remove volatile
* svn_rev_314Sascha Hauer2007-07-051-15/+17
| | | | remove volatile from variables
* svn_rev_279Sascha Hauer2007-07-051-0/+1
| | | | add include
* svn_rev_270Sascha Hauer2007-07-051-2/+3
| | | | WIP FS support
* svn_rev_268Sascha Hauer2007-07-051-1/+1
| | | | WIP
* svn_rev_265Sascha Hauer2007-07-051-1/+1
| | | | reverted last patch
* svn_rev_260Sascha Hauer2007-07-051-1/+23
| | | | add set function for enetaddr
* svn_rev_229Sascha Hauer2007-07-051-1/+1
| | | | remove unused label
* svn_rev_227Sascha Hauer2007-07-052-58/+16
| | | | fix parameter handling
* svn_rev_223Sascha Hauer2007-07-051-0/+1
| | | | add missing include
* svn_rev_211Sascha Hauer2007-07-051-3/+4
| | | | memcpy -> write
* svn_rev_197Sascha Hauer2007-07-051-0/+28
| | | | add string_to_enet_addr()/enet_addr_to_string()
* svn_rev_196Sascha Hauer2007-07-051-51/+45
| | | | WIP
* svn_rev_148Sascha Hauer2007-07-051-3/+0
| | | | remove global data pointer
* svn_rev_144Sascha Hauer2007-07-051-3/+1
| | | | fix seconds since boot
* svn_rev_121Sascha Hauer2007-07-051-1/+40
| | | | implement device parameters
* svn_rev_120Sascha Hauer2007-07-052-41/+23
| | | | implement initcalls
* svn_rev_118Sascha Hauer2007-07-052-80/+5
| | | | thousands of things
* svn_rev_109Sascha Hauer2007-07-051-0/+30
| | | | do not know anymore
* svn_rev_108Sascha Hauer2007-07-058-678/+106
| | | | removed ifdefs, moved ping to own file, fix timeout handler
* svn_rev_101Sascha Hauer2007-07-051-0/+116
|
* svn_rev_095Sascha Hauer2007-07-052-53/+95
| | | | | | | | | | | | | | | | | | | | | | Currently U-Boot uses globally defined eth_* functions. This is horribly unflexible. This patch replaces the global functions with pointers from structs. We could also use CONFIG_NET_MULTI, but this has other implications, though we should merge this some day. Also, U-Boot has no unique way to handle MAC addresses. Each and every board and network driver uses it's own mechanism to set the MAC address. There are several problems which I've for too often. For example everything goes well if we boot from network, but when we boot from flash U-Boot forgets to set the MAC address and the linux network driver has none. This patch adds [gs]et_mac_address to the eth_device struct and handles it as follows: - First try to get a valid MAC address from the EEPROM and set 'ethaddr' accordingly. - If no valid MAC address is found in the EEPROM (or no EEPROM is connected), we set the devices MAC address from 'ethaddr' This is done in eth_initialize which is called on startup for every board.