]> git.baikalelectronics.ru Git - kernel.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)
commitaa0540da7158e5ed77a9a7cdcaff462a91aca636
tree784e03b41b7499294cb5c7cf41d919feb55120cc
parent4c5296514e2f725d0f46421c82d2a117b8b3d532
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