]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: Initial bcmgenet ACPI support
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 24 Feb 2020 22:54:01 +0000 (16:54 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 23:31:23 +0000 (15:31 -0800)
commita75c3c07081390ea4e00cb4771547412557809ad
treec4877b30a5b7ec23f287b168371be6146ebf0529
parent9030b82afee7fd754e9c356c75bc8523cd60510a
net: bcmgenet: Initial bcmgenet ACPI support

The rpi4 is capable of booting in ACPI mode with the latest
edk2-platform commits. As such it would be helpful if the genet
platform device were usable.

To achieve this we add a new MODULE_DEVICE_TABLE, and convert
a few dt specific methods to their generic device_ calls. Until
the next patch, ACPI based machines will fallback on random
mac addresses.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c