OSDN Git Service

ARM/net: ixp4xx: Pass ethernet physical base as resource
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 12 Jan 2020 12:04:49 +0000 (13:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Jan 2020 20:59:53 +0000 (12:59 -0800)
commitf458ac479777c627c9b92ab640afec3bfa150660
tree0e01d6af77d9021d30dc2e1acd5cc4df2349d810
parent3cb5b0ee72b8b9ff0827b1edb40b6c4b00d5ab2e
ARM/net: ixp4xx: Pass ethernet physical base as resource

In order to probe this ethernet interface from the device tree
all physical MMIO regions must be passed as resources. Begin
this rewrite by first passing the port base address as a
resource for all platforms using this driver, remap it in
the driver and avoid using any reference of the statically
mapped virtual address in the driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/arm/mach-ixp4xx/fsg-setup.c
arch/arm/mach-ixp4xx/goramo_mlr.c
arch/arm/mach-ixp4xx/ixdp425-setup.c
arch/arm/mach-ixp4xx/nas100d-setup.c
arch/arm/mach-ixp4xx/nslu2-setup.c
arch/arm/mach-ixp4xx/omixp-setup.c
arch/arm/mach-ixp4xx/vulcan-setup.c
drivers/net/ethernet/xscale/ixp4xx_eth.c