Olaf Hering wrote:
> Current Linus tree does not compile on s390 because esp_scsi references
> unavailable functions.
> 
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c: In function `esp_map_dma':
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c:338: error: implicit 
> declaration of function `sg_dma_len'
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c: In function 
> `esp_cur_dma_addr':
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c:357: error: implicit 
> declaration of function `sg_dma_address'
> 
Hmm. Try this:

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index d28c14e..4909863 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1755,7 +1755,7 @@ config SUN3X_ESP

 config SCSI_ESP_CORE
        tristate "ESP Scsi Driver Core"
-       depends on SCSI
+       depends on SCSI && !S390
        select SCSI_SPI_ATTRS
        help
          This is a core driver for NCR53c9x based scsi chipsets,

James, please apply. ESP cards simply don't fit in a mainframe :-)

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                   zSeries & Storage
[EMAIL PROTECTED]                             +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to