summaryrefslogtreecommitdiffstats
path: root/include/net.h
Commit message (Collapse)AuthorAgeFilesLines
* remove global variable BootFileSascha Hauer2009-10-191-3/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove unused variable NetBootFileSizeSascha Hauer2009-10-171-1/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove sntp support. Has been broken for long enoughSascha Hauer2009-10-131-3/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* only the ping code is interested in the ping ipSascha Hauer2009-10-131-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make netboot_common a global functionSascha Hauer2009-10-131-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove switch/case in NetLoop()Sascha Hauer2009-10-131-1/+1
| | | | | | | | Instead of having a big switch/case for every protocol, do the right things in the individual functions before callong NetLoop(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: split NetLoop in NetLoop and NetLoopInitSascha Hauer2009-10-131-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove unused state NETLOOP_RESTARTSascha Hauer2009-10-131-3/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add a device_d to ethernet devicesSascha Hauer2009-07-211-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Get rid of DEVICE_TYPE_ETHER usageSascha Hauer2009-07-211-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add eth_unregister functionSascha Hauer2009-04-071-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix string_to_ipSascha Hauer2008-08-201-1/+1
| | | | | | | | 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: remove unused function declarationsSascha Hauer2008-08-201-8/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net.h: no need to put extern declarations in ifdefsSascha Hauer2008-06-031-2/+0
|
* When printing error messages about network parameters printsascha2007-10-181-2/+0
| | | | the network device id with it.
* change functions containing 'mac' or 'enet' in its name to 'ethaddr'.sascha2007-10-181-6/+6
| | | | change the parameter name for ethernet devices to 'ethaddr' aswell.
* Use safe_strncpy() instead of copy_filename(). The shell has already removedSascha Hauer2007-09-281-3/+0
| | | | quotes, so we don't need this functionality from copy_filename()
* 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.
* svn_rev_574Sascha Hauer2007-07-051-2/+3
| | | | eth_init -> eth_open
* svn_rev_502Sascha Hauer2007-07-051-1/+1
| | | | complete multiple console support
* svn_rev_481Sascha Hauer2007-07-051-1/+1
| | | | make more char * const, fix compiler warnings
* svn_rev_469Sascha Hauer2007-07-051-3/+3
| | | | | - make some more char * const - dev_add_parameter -> dev_add_param
* svn_rev_409Sascha Hauer2007-07-051-40/+42
| | | | remove extern
* svn_rev_314Sascha Hauer2007-07-051-9/+9
| | | | remove volatile from variables
* svn_rev_273Sascha Hauer2007-07-051-25/+1
| | | | split up header files, make src pointer in write functions const
* svn_rev_272Sascha Hauer2007-07-051-0/+4
| | | | more FS work
* svn_rev_198Sascha Hauer2007-07-051-23/+7
| | | | add string_to_enet_addr()/enet_addr_to_string()
* svn_rev_121Sascha Hauer2007-07-051-0/+5
| | | | implement device parameters
* svn_rev_120Sascha Hauer2007-07-051-4/+3
| | | | implement initcalls
* svn_rev_118Sascha Hauer2007-07-051-0/+1
| | | | thousands of things
* svn_rev_109Sascha Hauer2007-07-051-9/+11
| | | | do not know anymore
* svn_rev_095Sascha Hauer2007-07-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | 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.
* svn_rev_033Sascha Hauer2007-07-051-1/+1
| | | | change to clocksource api
* svn_rev_003Sascha Hauer2007-07-051-6/+0
| | | | remove all #if 0 and #if 1
* Add support for multiple PHYs.Marian Balakowicz2005-10-281-0/+1
|
* Cleanup for GCC-4.xWolfgang Denk2005-10-131-1/+1
|
* * Patch by Jon Loeliger, Kumar Gala 2005-02-08Jon Loeliger2005-07-231-1/+1
| | | | | | | | - Convert the CPM2 based functionality to use new CONFIG_CPM2 option rather than a myriad of CONFIG_MPC8560-like variants. Applies to MPC85xx and MPC8260 boards, includes stxgp3 and sbc8560. Eliminates the CONFIG_MPC8560 option entirely. Distributes the new CONFIG_CPM2 option to each 8260 board.
* * Patch by Masami Komiya, 30 Mar 2005:wdenk2005-04-011-1/+6
| | | | | | | | add SNTP support and expand time server and time offset fields of DHCP support. See doc/README.SNTP * Patch by Steven Scholz, 13 Dec 2004: Fix bug in at91rm920 ethernet driver
* Patch by Andreas Engel, 16 Aug 2004:wdenk2004-10-091-1/+1
| | | | parameter type cleanup for NetSetTimeout()
* Add support for console over UDP (compatible to Ingo Molnar'swdenk2004-08-021-1/+2
| | | | netconsole patch under Linux)
* Patches by Pantelis Antoniou, 30 Mar 2004:wdenk2004-04-151-3/+49
| | | | add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
* * Patch by Masami Komiy, 22 Feb 2004:wdenk2004-02-241-4/+4
| | | | | | Add support for NFS for file download * Minor code cleanup
* * Use "-fPIC" instead of "-mrelocatable" to prevent problems withwdenk2003-11-171-0/+1
| | | | | | | | | | | | | recent tools * Add checksum verification to 'imls' command * Add bd_info fields needed for 4xx Linux I2C driver * Patch by Martin Krause, 4 Nov. 2003: Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) * Print used network interface when CONFIG_NET_MULTI is set
* * Patches by Xianghua Xiao, 15 Oct 2003:wdenk2003-10-151-1/+1
| | | | | | | | - Added Motorola CPU 8540/8560 support (cpu/85xx) - Added Motorola MPC8540ADS board support (board/mpc8540ads) - Added Motorola MPC8560ADS board support (board/mpc8560ads) * Minor code cleanup
* - Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to CONFIG_BOOTP_MASK.stroese2003-08-281-0/+3
|
* * Allow crc32 to be used at address 0x000wdenk2003-07-261-0/+8
| | | | | | | | * Provide consistent interface to standalone applications to access the 'global_data' structure Provide a doc/README.standalone more useful to users/developers. * Make IceCube MGT5100 FEC driver work
* * Code cleanup:wdenk2003-06-271-5/+3
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* * Fix CONFIG_NET_MULTI support in include/net.hwdenk2003-06-151-5/+7
| | | | | | | | | | | | | * Patches by Kyle Harris, 13 Mar 2003: - Add FAT partition support - Add command support for FAT - Add command support for MMC ---- - Add Intel PXA support for video - Add Intel PXA support for MMC ---- - Enable MMC and FAT for lubbock board - Other misc changes for lubbock board
* * Add support for RMU boardwdenk2003-06-051-1/+13
| | | | | | | | * Add support for TQM862L at 100/50 MHz * Patch by Pantelis Antoniou, 02 Jun 2003: major reconstruction of networking code; add "ping" support (outgoing only!)
* - CFG_ETH_RX_BUFFER added.stroese2003-06-051-6/+3
|