summaryrefslogtreecommitdiff
path: root/drivers/net/mcffec.c
Commit message (Collapse)AuthorAgeLines
* miiphy: convert to linux/mii.hMike Frysinger2011-01-09-1/+1
| | | | | | | | The include/miiphy.h header duplicates a lot of things from linux/mii.h. So punt all the things that overlap to keep the API simple and to make merging between U-Boot and Linux simpler. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drivers/net/: get mac address from environmentMike Frysinger2009-03-20-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. The drivers that get converted here: 3c589 4xx_enet dc2114x dm9000x enc28j60 fsl_mcdmafec ks8695eth mcffec rtl8019 rtl8169 s3c4510b_eth xilinx_emac xilinx_emaclite Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com> CC: Rolf Offermanns <rof@sysgo.de> CC: Stefan Roese <sr@denx.de> CC: Sascha Hauer <saschahauer@web.de> CC: TsiChung Liew <Tsi-Chung.Liew@freescale.com> CC: Greg Ungerer <greg.ungerer@opengear.com> CC: Xue Ligong <lgxue@hotmail.com> CC: Masami Komiya <mkomiya@sonare.it> CC: Curt Brune <curt@cucy.com> CC: Michal SIMEK <monstr@monstr.eu>
* ColdFire: Add mii driver in drivers/netTsiChung Liew2008-11-09-15/+3
| | | | | | | All CF platforms' mii.c are consolidated into one Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-32/+32
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Introduce netdev.h header file and remove externsBen Warren2008-09-02-0/+1
| | | | | | | This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* ColdFire: Add FEC Buffer descriptors in SRAMTsiChung Liew2008-08-26-6/+36
| | | | | | | | Add FEC Buffer descriptors and data buffer in SRAM for faster execution and access. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Fix ColdFire FEC warning messagesTsiChung Liew2008-08-26-0/+4
| | | | | | | | Types mismatch and implicit declaration of icache_invalid() warning messages Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Moved initialization of MCFFEC Ethernet driver to CPU directoryBen Warren2008-08-26-1/+1
| | | | | | | Added a cpu_eth_init() function to coldfire CPU directories and removed code from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* net: Conditional COBJS inclusion of network driversShinya Kuribayashi2008-06-09-7/+0
| | | | | | | Replace COBJS-y with appropriate driver config names. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* ColdFire: Add 10 base ethernet support for mcf5445xTsiChung Liew2008-06-02-0/+6
| | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Big white-space cleanup.Wolfgang Denk2008-05-21-1/+1
| | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ColdFire: Fix FEC transmit issue for MCF5275Tsi-Chung Liew2008-03-30-0/+7
| | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Fix some build errors.Wolfgang Denk2007-08-19-2/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ColdFire: Add M54455EVB for MCF5445xTsiChungLiew2007-08-16-7/+20
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 Update and cleanupTsiChungLiew2007-08-16-5/+5
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Declared attributes of void __mii_init(void) as an alias for int mii_init(void)TsiChungLiew2007-08-08-1/+1
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Cache update and added CFG_UNIFY_CACHETsiChung2007-07-10-18/+8
| | | | | | Enabled cache in cpu_init_f() for faster flash to mem allocation. Updated cache handling in start.S. Applied cache invalidate in fec_send() and fec_recv(). Added CFG_UNIFY_CACHE for CF V3 only. Signed-off-by: TsiChung <tcliew@Goku.(none)>
* Header file update, clean up and cache handlingTsiChungLiew2007-07-10-33/+33
| | | | | | Replaced immap_5329.h and m5329.h with immap.h. Included cache_invalid. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-18-0/+594
Added board/freescale/m5329evb, cpu/mcf532x, drivers/net, drivers/serial, immap_5329.h, m5329.h, mcfrtc.h, include/configs/M5329EVB.h, lib_m68k/interrupts.c, and rtc/mcfrtc.c Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c, common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h, include/asm-m68k/io.h, include/asm-m68k/mcftimer.h, include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h, include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c, lib_m68k/time.c, net/eth.c and rtc/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>