Advansys SCSI compile problems in 2.5.73

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Thu Jun 26 2003 - 06:27:27 EST


        Hi Bob,

If CONFIG_PCI is not set, the advansys driver doesn't compile. Below are a few
required changes, but some more are needed. Since I don't have the hardware, I
gave up.

--- linux-2.5.73/drivers/scsi/advansys.c.orig Sun Jun 15 09:38:35 2003
+++ linux-2.5.73/drivers/scsi/advansys.c Mon Jun 23 15:51:12 2003
@@ -4765,7 +4765,10 @@
                 continue;
             }
 
+#ifdef CONFIG_PCI
+ /* FIXME */
             scsi_set_device(shp, &pci_devp->dev);
+#endif
 
             /* Save a pointer to the Scsi_Host of each board found. */
             asc_host[asc_board_count++] = shp;
@@ -9146,8 +9149,6 @@
 {
 #ifdef CONFIG_PCI
     pci_write_config_byte(asc_dvc->cfg->pci_dev, offset, byte_data);
-#else /* CONFIG_PCI */
- return 0;
 #endif /* CONFIG_PCI */
 }
 

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:23 EST