24 May, 2012
6 commits
-
Call a built-in dummy if none is registered... don't require
protocols to register a handler (eliminating dummies)
NetConsole now uses the ARP handler when waiting on arp
(instead of needing a #define hack in arp.c)
Clear handlers at the end of net loopSigned-off-by: Joe Hershberger
Acked-by: Simon Glass -
Changes to NetState now go through an accessor function called
net_set_state()Signed-off-by: Joe Hershberger
-
Use this entry-point consistently across the net/ code
Use a static inline function to preserve code sizeSigned-off-by: Joe Hershberger
Acked-by: Simon Glass -
This is not called as a handler, so don't name it that way
Signed-off-by: Joe Hershberger
-
Separate the Ethernet header from the 802 header.
Base the size constants on the structs.Signed-off-by: Joe Hershberger
-
Separate this functionality out of the net.c behemoth
Signed-off-by: Joe Hershberger