archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <>
To: Bob Frey <>
	Linux Kernel Development <>
Subject: Advansys SCSI compile problems in 2.5.73
Date: Thu, 26 Jun 2003 13:27:27 +0200 (MEST)	[thread overview]
Message-ID: <> (raw)

	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 @@
+#ifdef CONFIG_PCI
+	    /* FIXME */
 	    scsi_set_device(shp, &pci_devp->dev);
             /* 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 */



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

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

                 reply	other threads:[~2003-06-26 11:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: Advansys SCSI compile problems in 2.5.73' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox