Message ID | b7e66624-a077-048a-d8f5-52a3722157df@infradead.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | net: prevent ISA drivers from building on PPC32 | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | next/apply_patch Successfully applied |
snowpatch_ozlabs/checkpatch | success | Test checkpatch on branch next |
snowpatch_ozlabs/build-ppc64le | success | Test build-ppc64le on branch next |
snowpatch_ozlabs/build-ppc64be | success | Test build-ppc64be on branch next |
snowpatch_ozlabs/build-ppc64e | success | Test build-ppc64e on branch next |
snowpatch_ozlabs/build-ppc32 | success | Test build-ppc32 on branch next |
From: Randy Dunlap <rdunlap@infradead.org> Date: Sat, 21 Jul 2018 12:59:25 -0700 > From: Randy Dunlap <rdunlap@infradead.org> > > Prevent drivers from building on PPC32 if they use isa_bus_to_virt(), > isa_virt_to_bus(), or isa_page_to_bus(), which are not available and > thus cause build errors. ... > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Applied, thanks Randy.
--- linux-next-20180720.orig/drivers/net/ethernet/3com/Kconfig +++ linux-next-20180720/drivers/net/ethernet/3com/Kconfig @@ -32,7 +32,7 @@ config EL3 config 3C515 tristate "3c515 ISA \"Fast EtherLink\"" - depends on ISA && ISA_DMA_API + depends on ISA && ISA_DMA_API && !PPC32 ---help--- If you have a 3Com ISA EtherLink XL "Corkscrew" 3c515 Fast Ethernet network card, say Y here. --- linux-next-20180720.orig/drivers/net/ethernet/amd/Kconfig +++ linux-next-20180720/drivers/net/ethernet/amd/Kconfig @@ -44,7 +44,7 @@ config AMD8111_ETH config LANCE tristate "AMD LANCE and PCnet (AT1500 and NE2100) support" - depends on ISA && ISA_DMA_API && !ARM + depends on ISA && ISA_DMA_API && !ARM && !PPC32 ---help--- If you have a network (Ethernet) card of this type, say Y here. Some LinkSys cards are of this type. @@ -138,7 +138,7 @@ config PCMCIA_NMCLAN config NI65 tristate "NI6510 support" - depends on ISA && ISA_DMA_API && !ARM + depends on ISA && ISA_DMA_API && !ARM && !PPC32 ---help--- If you have a network (Ethernet) card of this type, say Y here. --- linux-next-20180720.orig/drivers/net/ethernet/cirrus/Kconfig +++ linux-next-20180720/drivers/net/ethernet/cirrus/Kconfig @@ -19,6 +19,7 @@ if NET_VENDOR_CIRRUS config CS89x0 tristate "CS89x0 support" depends on ISA || EISA || ARM + depends on !PPC32 ---help--- Support for CS89x0 chipset based Ethernet cards. If you have a network (Ethernet) card of this type, say Y and read the file