summaryrefslogtreecommitdiffstats
path: root/include/linux/if_ether.h
Commit message (Collapse)AuthorAgeFilesLines
* linux/if_ether.h: Add VLAN related macrosBin Meng2018-10-101-0/+20
| | | | | | | | | | There are VLAN related macros defined in include/linux/if_vlan.h in Linux kernel, as well as some kernel useful structures and inline functions. Instead of a complete import from kernel, let's add these VLAN macros to U-Boot's include/linux/if_ether.h. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* linux/if_ether.h: Initial import from Linux kernel v4.17Bin Meng2018-10-101-0/+158
This imports include/uapi/linux/if_ether.h from Linux kernel v4.17. It can be very helpful When porting Linux ethernet driver to U-Boot. Note it is not exactly the same as the kernel one, as checkpatch issues are fixed. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>