Message ID | 1411474536-22626-8-git-send-email-antoine.tenart@free-electrons.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tuesday 23 September 2014 14:15:34 Antoine Tenart wrote: > diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig > index 1b4fc7c639e6..48b9466d1781 100644 > --- a/drivers/net/ethernet/marvell/Kconfig > +++ b/drivers/net/ethernet/marvell/Kconfig > @@ -64,7 +64,7 @@ config MVPP2 > > config PXA168_ETH > tristate "Marvell pxa168 ethernet support" > - depends on CPU_PXA168 > + depends on CPU_PXA168 || ARCH_BERLIN > select PHYLIB > ---help--- > This driver supports the pxa168 Ethernet ports. > Myabe you can also add '|| COMPILE_TEST' here, to allow building it on other architectures. Check if you need 'depends on OF' though. Arnd
Arnd, On Tue, Sep 23, 2014 at 02:40:01PM +0200, Arnd Bergmann wrote: > On Tuesday 23 September 2014 14:15:34 Antoine Tenart wrote: > > diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig > > index 1b4fc7c639e6..48b9466d1781 100644 > > --- a/drivers/net/ethernet/marvell/Kconfig > > +++ b/drivers/net/ethernet/marvell/Kconfig > > @@ -64,7 +64,7 @@ config MVPP2 > > > > config PXA168_ETH > > tristate "Marvell pxa168 ethernet support" > > - depends on CPU_PXA168 > > + depends on CPU_PXA168 || ARCH_BERLIN > > select PHYLIB > > ---help--- > > This driver supports the pxa168 Ethernet ports. > > > > Myabe you can also add '|| COMPILE_TEST' here, to allow building it We can add this. > on other architectures. Check if you need 'depends on OF' though. I don't think that's needed, the driver still supports non-dt cases. I'll check. Antoine
diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig index 1b4fc7c639e6..48b9466d1781 100644 --- a/drivers/net/ethernet/marvell/Kconfig +++ b/drivers/net/ethernet/marvell/Kconfig @@ -64,7 +64,7 @@ config MVPP2 config PXA168_ETH tristate "Marvell pxa168 ethernet support" - depends on CPU_PXA168 + depends on CPU_PXA168 || ARCH_BERLIN select PHYLIB ---help--- This driver supports the pxa168 Ethernet ports.
Berlin SoCs have an Ethernet controller compatible with the pxa168. Allow these SoCs to use the pxa168_eth driver. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> --- drivers/net/ethernet/marvell/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)