summaryrefslogtreecommitdiffstats
path: root/drivers/net/dm9000.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the obsolet driver for the DM9000E ethernet deviceJuergen Beisert2011-12-141-564/+0
| | | | | | | | Support for the old DM9000E device is now part of the new dm9k.c driver. So, remove the old driver source and switch all users to the new driver. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce io.hSascha Hauer2011-09-221-1/+1
| | | | | | | To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net mii: add a parent pointer to miidevs and set it to the hardware deviceSascha Hauer2011-08-151-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: make the ethernet device a child of the hardware deviceSascha Hauer2011-08-151-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dm9000: introduce add_dm9000_device to register dm9000 deviceJean-Christophe PLAGNIOL-VILLARD2011-07-291-1/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* dm9000: replace DM9000_WIDTH_8/16/32 by IORESOURCE_MEM_8/16/32BITJean-Christophe PLAGNIOL-VILLARD2011-07-291-6/+6
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* dm9000: switch to dev_request_mem_regionJean-Christophe PLAGNIOL-VILLARD2011-07-201-2/+2
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dm9200: use "struct resource" instead of platform_dataJean-Christophe PLAGNIOL-VILLARD2011-07-181-2/+8
| | | | | | drop iobase and iodata in favor of resources Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* dm9000: read the mac address from the register if none are specifiedJean-Christophe PLAGNIOL-VILLARD2011-03-031-6/+12
| | | | | | | | as barebox can be run as a second stage the first stage may have init it before so re-used it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dm9000: fix printf compiler warningsSascha Hauer2011-01-071-6/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: rework the mii supportJean-Christophe PLAGNIOL-VILLARD2010-08-271-17/+16
| | | | | | | this rework is done in order to add a phylib and allow to have phy driver support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dm9000: allow to specify that no srom is presentJean-Christophe PLAGNIOL-VILLARD2010-08-231-1/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* network drivers: call net_receive directly instead of NetReceiveSascha Hauer2010-06-171-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add a device_d to ethernet devicesSascha Hauer2009-07-211-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Get rid of DEVICE_TYPE_ETHER usageSascha Hauer2009-07-211-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* change functions containing 'mac' or 'enet' in its name to 'ethaddr'.sascha2007-10-181-5/+5
| | | | change the parameter name for ethernet devices to 'ethaddr' aswell.
* add default for case to avoid compiler warningsascha2007-10-161-1/+4
|
* move dm9000 specific stuff to platform_datasascha2007-10-161-133/+241
|
* dm9000.c: return -0 -> return 0Sascha Hauer2007-09-111-1/+1
|
* use debug macro, some beautificationSascha Hauer2007-07-051-77/+74
|
* svn_rev_626Sascha Hauer2007-07-051-56/+38
| | | | use generic phy
* svn_rev_450Sascha Hauer2007-07-051-22/+24
| | | | | | | do autongotiation on probe and not on open, so this is done when we actually need the phy. We do not disable the phy now, that's not good. But at least networking is much more responsive now.
* svn_rev_430Sascha Hauer2007-07-051-7/+8
|
* svn_rev_310Sascha Hauer2007-07-051-5/+5
| | | | use type_data instead of pric for edev
* svn_rev_179Sascha Hauer2007-07-051-33/+36
| | | | refacture, remove static eth_device because it does not work with more than one device
* svn_rev_120Sascha Hauer2007-07-051-5/+23
| | | | implement initcalls
* svn_rev_113Sascha Hauer2007-07-051-268/+112
| | | | new api, cleanup
* svn_rev_110Sascha Hauer2007-07-051-0/+593
rename