]> git.baikalelectronics.ru Git - uboot.git/commit
net: macb: Fix GEM hardware detection
authorAtish Patra <atish.patra@wdc.com>
Mon, 25 Feb 2019 08:14:42 +0000 (08:14 +0000)
committerAndes <uboot@andestech.com>
Wed, 27 Feb 2019 01:12:33 +0000 (09:12 +0800)
commit2e5fa035dd66046889b6c0a6411058589904d8cb
tree9f8b2730365f19cf0008f513f0ec35614f02dbaf
parent7fe9d7ccbbc9d87e60580f3e44ace70e9ab260e0
net: macb: Fix GEM hardware detection

Fix MID bit field check to correctly identify all GEM hardwares.

The check is updated as per macb driver in Linux location:
<linux_sources>/drivers/net/ethernet/cadence/macb_main.c:259

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c