[4/6] net: bcmgenet: Initial bcmgenet ACPI support
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 24 Feb 2020 22:54:01 +0000 (16:54 -0600)
committerBen Hutchings <benh@debian.org>
Wed, 29 Apr 2020 03:46:47 +0000 (04:46 +0100)
commitaf5805183b4561254d2388946471e6820e8cf02d
treee77f2b9c4e8306b33bb5484468a723eb79e9199e
parent5b897cfa14cef2ca9800e3dd1844972555f8ff04
[4/6] net: bcmgenet: Initial bcmgenet ACPI support

Origin: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit?id=99c6b06a37d4cab118c45448fef9d28df62d35d8
Bug-Debian: https://bugs.debian.org/950578

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>
Gbp-Pq: Topic features/all/bcmgenet
Gbp-Pq: Name 0004-net-bcmgenet-Initial-bcmgenet-ACPI-support.patch
drivers/net/ethernet/broadcom/genet/bcmgenet.c