summaryrefslogtreecommitdiff
path: root/drivers/macb.c
Commit message (Collapse)AuthorAgeLines
* drivers/net : move net drivers to drivers/netJean-Christophe PLAGNIOL-VILLARD2007-11-25-587/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge commit 'upstream/master'Haavard Skinnemoen2007-08-13-5/+6
|\
| * Fix some compile problems introduced by the latest CFG_CMD_xxx cleanupStefan Roese2007-07-11-1/+1
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * drivers/[a-m]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-6/+5
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | macb: Don't restart autonegotiation if we already have linkHaavard Skinnemoen2007-05-03-17/+24
| | | | | | | | | | | | | | Rework macb_phy_init so that it doesn't attempt to re-negotiate if the link is already up. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* | macb: Introduce a few barriers when dealing with DMA descriptorsHaavard Skinnemoen2007-05-03-7/+11
|/ | | | | | | | | There were a few theoretical possibilities that the compiler might optimize away DMA descriptor reads and/or writes and thus cause synchronization problems with the hardware. Insert barriers where we depend on reads/writes actually hitting memory. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* Atmel MACB ethernet driverHaavard Skinnemoen2007-04-14-0/+575
Driver for the Atmel MACB on-chip ethernet controller. This driver has been tested on the ATSTK1000 board with a AT32AP7000 CPU. It should probably work on AT91SAM926x as well with some minor modifications. Hardware documentation can be found in the AT32AP7000 data sheet, which can be downloaded from http://www.atmel.com/dyn/products/datasheets.asp?family_id=682 Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>