Message ID | 5928f120-5a23-eff9-6c1d-41344d588b11@infradead.org (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | scsi: prevent ISA driver from building on PPC32 | expand |
On Sat, Jul 21, 2018 at 12:58:21PM -0700, Randy Dunlap wrote: > 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. Please don't introduce weird arch dependencies, and add a CONFIG_ISA_VIRT_TO_BUS instead.
On Mon, Jul 23, 2018 at 01:18:11AM -0700, Christoph Hellwig wrote: > On Sat, Jul 21, 2018 at 12:58:21PM -0700, Randy Dunlap wrote: > > 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. > > Please don't introduce weird arch dependencies, and add a > CONFIG_ISA_VIRT_TO_BUS instead. And in fact we have so few drivers that we should just kill off the API entirely instead. I'll take care of aha1542 in the next week or so.
--- linux-next-20180720.orig/drivers/scsi/Kconfig +++ linux-next-20180720/drivers/scsi/Kconfig @@ -428,7 +428,7 @@ config SCSI_AHA152X config SCSI_AHA1542 tristate "Adaptec AHA1542 support" - depends on ISA && SCSI && ISA_DMA_API + depends on ISA && SCSI && ISA_DMA_API && !PPC32 ---help--- This is support for a SCSI host adapter. It is explained in section 3.4 of the SCSI-HOWTO, available from