]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sunhme: Consolidate mac address initialization
authorSean Anderson <seanga2@gmail.com>
Fri, 24 Mar 2023 17:51:33 +0000 (13:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Mar 2023 07:41:56 +0000 (08:41 +0100)
commit273fb669c62cf7ac237036da1335d85d3e99eeba
tree679ef574875b558665ddcde6aa8b02b906d3dc8f
parentcc216e4b44ceed03774f291140fee62255d947d8
net: sunhme: Consolidate mac address initialization

The mac address initialization is braodly the same between PCI and SBUS,
and one was clearly copied from the other. Consolidate them. We still have
to have some ifdefs because pci_(un)map_rom is only implemented for PCI,
and idprom is only implemented for SPARC.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c