summaryrefslogtreecommitdiff
path: root/doc/README.drivers.eth
AgeCommit message (Collapse)Author
2020-03-09doc: net: Rewrite network driver documentationAndre Przywara
doc/README.drivers.eth seems like a good source for understanding U-Boot's network subsystem, but is only talking about legacy network drivers. This is particularly sad as proper documentation would help in porting drivers over to the driver model. Rewrite the document to describe network drivers in the new driver model world. Most driver callbacks/methods are almost identical in their semantic, but recv() differs in some important details. Also keep some parts of the original text at the end, to help understanding old drivers. Add some hints on how to port drivers over. This also uses the opportunity to reformat the document in reST, on the way moving it into doc/driver-model and adding it into the structure there. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Joe Hershberger <[email protected]>
2015-04-18net: cosmetic: Fix var naming net <-> eth driversJoe Hershberger
Update the naming convention used in the network stack functions and variables that Ethernet drivers use to interact with it. This cleans up the temporary hacks that were added to this interface along with the DM support. This patch has a few remaining checkpatch.pl failures that would be out of the scope of this patch to fix (drivers that are in gross violation of checkpatch.pl). Signed-off-by: Joe Hershberger <[email protected]> Acked-by: Simon Glass <[email protected]>
2015-04-18dm: eth: Add basic driver model support to Ethernet stackJoe Hershberger
First just add support for MAC drivers. Signed-off-by: Joe Hershberger <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2015-03-24net: Update README.drivers.eth to mention latest APIsBin Meng
README.drivers.eth still refers to the deprecated miiphy_register(). Update the doc to mention new APIs mdio_alloc() and mdio_register(). Signed-off-by: Bin Meng <[email protected]> Acked-by: Joe Hershberger <[email protected]>
2010-05-03Program net device MAC addresses after initializingBen Warren
Add a new function to the eth_device struct for programming a network controller's hardware address. After all network devices have been initialized and the proper MAC address for each has been determined, make a device driver call to program the address into the device. Only device instances with valid unicast addresses will be programmed. Signed-off-by: Ben Warren <[email protected]> Acked-by: Detlev Zundel <[email protected]> Tested-by: Prafulla Wadaskar <[email protected]> Tested-by: Heiko Schocher <[email protected]> Tested-by: Thomas Chou <[email protected]>
2009-11-09clarify eth driver halt/recv stepsMike Frysinger
The dev->halt() func can be called at any time, and the dev->recv() func does not need to use NetRxPackets[] when calling NetReceive(). Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Ben Warren <[email protected]>
2009-10-28Coding Style cleanup; update CHANGELOG, prepare -rc1v2009.11-rc1Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2009-10-05Add information about return values of xxx_eth_register() in documentationBen Warren
As discussed on mailing list, <0 indicates failure, >=0 indicates number of interfaces found. Also added blurb about private data Signed-off-by: Ben Warren <[email protected]>
2009-10-04document network driver frameworkMike Frysinger
Signed-off-by: Mike Frysinger <[email protected]> Acked-by: Wolfgang Denk <[email protected]> Signed-off-by: Ben Warren <[email protected]>