public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aic7xxx won't compile w/o PCI at all <- fixed
@ 2002-06-13 19:46 Paul P Komkoff Jr
  2002-06-13 20:27 ` Justin T. Gibbs
  0 siblings, 1 reply; 5+ messages in thread
From: Paul P Komkoff Jr @ 2002-06-13 19:46 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: Linux Kernel Mailing List

-----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-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] aic7xxx won't compile w/o PCI at all <- fixed
  2002-06-13 19:46 [PATCH] aic7xxx won't compile w/o PCI at all <- fixed Paul P Komkoff Jr
@ 2002-06-13 20:27 ` Justin T. Gibbs
  2002-06-13 20:38   ` Tom Rini
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Justin T. Gibbs @ 2002-06-13 20:27 UTC (permalink / raw)
  To: Paul P Komkoff Jr; +Cc: Linux Kernel Mailing List

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

I guess I'm missing some context here.

The patch, on first inspection, appears correct.  Unfortunately, finding
machines without PCI busses is getting more and more difficult every day,
but I'll add a build case that disables PCI busses so we catch these kinds
of failures in the future..

Thanks,
Justin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] aic7xxx won't compile w/o PCI at all <- fixed
  2002-06-13 20:27 ` 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
  2 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2002-06-13 20:38 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: Paul P Komkoff Jr, Linux Kernel Mailing List

On Thu, Jun 13, 2002 at 02:27:04PM -0600, Justin T. Gibbs wrote:
> >I know I shouldn't do that
> >I also know someone should do at least compile on cases which affected by
> >some patch.
> 
> I guess I'm missing some context here.
> 
> The patch, on first inspection, appears correct.  Unfortunately, finding
> machines without PCI busses is getting more and more difficult every day,
> but I'll add a build case that disables PCI busses so we catch these kinds
> of failures in the future..

Well, without a PCI bus and an onboard aic7xxx controller maybe...

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] aic7xxx won't compile w/o PCI at all <- fixed
  2002-06-13 20:27 ` 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
  2 siblings, 0 replies; 5+ messages in thread
From: Paul P Komkoff Jr @ 2002-06-14  5:13 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: Linux Kernel Mailing List

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

Replying to Justin T. Gibbs:
> I guess I'm missing some context here.

:)

> The patch, on first inspection, appears correct.  Unfortunately, finding
> machines without PCI busses is getting more and more difficult every day,
> but I'll add a build case that disables PCI busses so we catch these kinds
> of failures in the future..

Unfortunately, I just have one such machine here ;(

- -- 
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-----

iEYEAREDAAYFAj0Je5AACgkQyMW8naS07KTklQCfSdoW3LYTOyrx0iUkm3/WnMBs
hp8AoMx0uYc8RmKeYY628xC8RBdfG+H5
=ENeK
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] aic7xxx won't compile w/o PCI at all <- fixed
  2002-06-13 20:27 ` 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
  2 siblings, 0 replies; 5+ messages in thread
From: Juri Haberland @ 2002-06-14 12:11 UTC (permalink / raw)
  To: "Justin T. Gibbs"; +Cc: linux-kernel

In article <200206132027.g5DKR4968416@aslan.scsiguy.com> you wrote:
>>I know I shouldn't do that
>>I also know someone should do at least compile on cases which affected by
>>some patch.
> 
> I guess I'm missing some context here.
> 
> The patch, on first inspection, appears correct.  Unfortunately, finding
> machines without PCI busses is getting more and more difficult every day,
> but I'll add a build case that disables PCI busses so we catch these kinds
> of failures in the future..

Yes, I noticed this problem also on my 486 with an Adaptec VL host
adapter.

Willing to test any new version ;)

Cheers,
Juri

-- 
Juri Haberland  <juri@koschikode.com> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-14 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-13 19:46 [PATCH] aic7xxx won't compile w/o PCI at all <- fixed Paul P Komkoff Jr
2002-06-13 20:27 ` 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

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