linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Advansys SCSI compile problems in 2.5.73
@ 2003-06-26 11:27 Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2003-06-26 11:27 UTC (permalink / raw)
  To: Bob Frey; +Cc: linux-scsi, Linux Kernel Development

	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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-26 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 11:27 Advansys SCSI compile problems in 2.5.73 Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).