]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bgmac: add helper checking for BCM4707 / BCM53018 chip id
authorRafał Miłecki <zajec5@gmail.com>
Tue, 2 Feb 2016 06:47:14 +0000 (07:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Feb 2016 08:36:08 +0000 (03:36 -0500)
commit387b75f8b31437792e8334390fdf5cf060d1e3da
tree784e03b41b7499294cb5c7cf41d919feb55120cc
parent8ac2c867b516268fd8797ad7c7375c71419714ea
bgmac: add helper checking for BCM4707 / BCM53018 chip id

Chipsets with BCM4707 / BCM53018 ID require special handling at a few
places in the code. It's likely there will be more IDs to check in the
future. To simplify it add this trivial helper.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c