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)
commit99c6b06a37d4cab118c45448fef9d28df62d35d8
treec4877b30a5b7ec23f287b168371be6146ebf0529
parent6ef31c8bee5b7ca439365a4ca5c87e1a8fa579ab
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