public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul P Komkoff Jr <i@stingr.net>
To: "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] aic7xxx won't compile w/o PCI at all <- fixed
Date: Thu, 13 Jun 2002 23:46:36 +0400	[thread overview]
Message-ID: <20020613194636.GA26527@stingr.net> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

I know I shouldn't do that
I also know someone should do at least compile on cases which affected by
some patch.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.538   -> 1.539  
#	drivers/scsi/aic7xxx/aic7xxx_proc.c	1.9     -> 1.10   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/06/13	stingray@boxster.stingr.net	1.539
# Fix two obscure cases in heh aic7xxx
# --------------------------------------------
#
diff -Nru a/drivers/scsi/aic7xxx/aic7xxx_proc.c b/drivers/scsi/aic7xxx/aic7xxx_proc.c
- --- a/drivers/scsi/aic7xxx/aic7xxx_proc.c	Thu Jun 13 23:43:23 2002
+++ b/drivers/scsi/aic7xxx/aic7xxx_proc.c	Thu Jun 13 23:43:23 2002
@@ -282,7 +282,11 @@
 		sd.sd_CK = SEECK;
 		sd.sd_DO = SEEDO;
 		sd.sd_DI = SEEDI;
+#ifdef CONFIG_PCI
 		have_seeprom = ahc_acquire_seeprom(ahc, &sd);
+#else
+		have_seeprom = 0;
+#endif
 	}
 
 	if (!have_seeprom) {
@@ -306,8 +310,10 @@
 				  sizeof(struct seeprom_config)/2);
 		ahc_read_seeprom(&sd, (uint16_t *)ahc->seep_config,
 				 start_addr, sizeof(struct seeprom_config)/2);
+#ifdef CONFIG_PCI
 		if ((ahc->chip & AHC_VL) == 0)
 			ahc_release_seeprom(&sd);
+#endif
 		written = length;
 	}
 
- -- 
Paul P 'Stingray' Komkoff 'Greatest' Jr /// (icq)23200764 /// (http)stingr.net
  When you're invisible, the only one really watching you is you (my keychain)
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAj0I9poACgkQyMW8naS07KSyFgCeIaq/qC3CjghpuzZaQZDk+xFk
gbEAn2VYDXsq+VC5lvvgOXCTUTr2DCsa
=g0mm
-----END PGP SIGNATURE-----

             reply	other threads:[~2002-06-13 19:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13 19:46 Paul P Komkoff Jr [this message]
2002-06-13 20:27 ` [PATCH] aic7xxx won't compile w/o PCI at all <- fixed Justin T. Gibbs
2002-06-13 20:38   ` Tom Rini
2002-06-14  5:13   ` Paul P Komkoff Jr
2002-06-14 12:11   ` Juri Haberland

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20020613194636.GA26527@stingr.net \
    --to=i@stingr.net \
    --cc=gibbs@scsiguy.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox