BNX2X: spatch ETH_*LEN
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 23:56:27 +0000 (18:56 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 Mar 2015 16:59:07 +0000 (11:59 -0500)
commit746231ddd93643b43c2e62c148d3fb5ffd5c77d6
tree3ba4d8a3026de0f02f75055c10b9003c88a69520
parentaf9f0aa10ccba6c3ef98cd69c2fe26a3c3aa6ce0
BNX2X: spatch ETH_*LEN

ETH_ALEN -> Eaddrlen.

ETH_HLEN -> ETHERHDRSIZE.

I'm actually fine with the Linux names, but we should keep them consistent with
the Plan 9 stuff.  We can always spatch the plan 9 ones to something more
consistent.
12 files changed:
kern/drivers/net/bnx2x/bnx2x.h
kern/drivers/net/bnx2x/bnx2x_cmn.c
kern/drivers/net/bnx2x/bnx2x_ethtool.c
kern/drivers/net/bnx2x/bnx2x_link.c
kern/drivers/net/bnx2x/bnx2x_main.c
kern/drivers/net/bnx2x/bnx2x_sp.c
kern/drivers/net/bnx2x/bnx2x_sp.h
kern/drivers/net/bnx2x/bnx2x_sriov.c
kern/drivers/net/bnx2x/bnx2x_sriov.h
kern/drivers/net/bnx2x/bnx2x_vfpf.c
kern/drivers/net/bnx2x/bnx2x_vfpf.h
scripts/spatch/linux/scalar.cocci