]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a64d8707fdb3e10ca704acf53e15c04ebd1919c
tree0e01d6af77d9021d30dc2e1acd5cc4df2349d810
parentac7bbe853032b1e5ab41506d5e2b709b8ae08d77
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