linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: CONFIG_64_BIT
       [not found] <20030902143424.GO13467@parcelfarce.linux.theplanet.co.uk.suse.lists.linux.kernel>
@ 2003-09-02 17:35 ` Andi Kleen
  2003-09-02 17:44   ` CONFIG_64_BIT Matthew Wilcox
  0 siblings, 1 reply; 9+ messages in thread
From: Andi Kleen @ 2003-09-02 17:35 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-kernel

Matthew Wilcox <willy@debian.org> writes:

> What do people think of CONFIG_64_BIT?  It saves us from using
> !(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
> the X86_64 people deciding their architecture is more important.
> 
> I also considered CONFIG_ILP32 vs CONFIG_LP64 (since that's the real
> problem with, eg, megaraid), but that requires more explanation and
> offers people several ways to get it wrong (should I depend on ILP32
> or !LP64?)

At least for code BITS_PER_LONG == 64 is already good enough.

For Kconfigs it may make sense, but is there any Config rule that 
checks for all 64bit archs (opposed to checking for specific archs)?
I cannot thinkg of any.

-Andi
-
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/
Matthew Wilcox <willy@debian.org> writes:

> What do people think of CONFIG_64_BIT?  It saves us from using
> !(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
> the X86_64 people deciding their architecture is more important.
> 
> I also considered CONFIG_ILP32 vs CONFIG_LP64 (since that's the real
> problem with, eg, megaraid), but that requires more explanation and
> offers people several ways to get it wrong (should I depend on ILP32
> or !LP64?)

At least for code BITS_PER_LONG == 64 is already good enough.

For Kconfigs it may make sense, but is there any Config rule that 
checks for all 64bit archs (opposed to checking for specific archs)?
I cannot thinkg of any.

-Andi

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

* Re: CONFIG_64_BIT
  2003-09-02 17:35 ` CONFIG_64_BIT Andi Kleen
@ 2003-09-02 17:44   ` Matthew Wilcox
  2003-09-02 17:52     ` CONFIG_64_BIT Andi Kleen
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Wilcox @ 2003-09-02 17:44 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Matthew Wilcox, linux-kernel

On Tue, Sep 02, 2003 at 07:35:11PM +0200, Andi Kleen wrote:
> Matthew Wilcox <willy@debian.org> writes:
> 
> > What do people think of CONFIG_64_BIT?  It saves us from using
> > !(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
> 
> For Kconfigs it may make sense, but is there any Config rule that 
> checks for all 64bit archs (opposed to checking for specific archs)?
> I cannot thinkg of any.

... that was what the patch added.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
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/
On Tue, Sep 02, 2003 at 07:35:11PM +0200, Andi Kleen wrote:
> Matthew Wilcox <willy@debian.org> writes:
> 
> > What do people think of CONFIG_64_BIT?  It saves us from using
> > !(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
> 
> For Kconfigs it may make sense, but is there any Config rule that 
> checks for all 64bit archs (opposed to checking for specific archs)?
> I cannot thinkg of any.

... that was what the patch added.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

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

* Re: CONFIG_64_BIT
  2003-09-02 17:44   ` CONFIG_64_BIT Matthew Wilcox
@ 2003-09-02 17:52     ` Andi Kleen
  2003-09-03 13:37       ` CONFIG_64_BIT Alan Cox
  0 siblings, 1 reply; 9+ messages in thread
From: Andi Kleen @ 2003-09-02 17:52 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: willy, linux-kernel

On Tue, 2 Sep 2003 18:44:36 +0100
Matthew Wilcox <willy@debian.org> wrote:

> On Tue, Sep 02, 2003 at 07:35:11PM +0200, Andi Kleen wrote:
> > Matthew Wilcox <willy@debian.org> writes:
> > 
> > > What do people think of CONFIG_64_BIT?  It saves us from using
> > > !(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
> > 
> > For Kconfigs it may make sense, but is there any Config rule that 
> > checks for all 64bit archs (opposed to checking for specific archs)?
> > I cannot thinkg of any.
> 
> ... that was what the patch added.

It added a symbol that means that, but are there any users for it?

Ok, I2O and ATM and WANPIPE maybe but I assume that both are getting fixed
Still all those are non 64bit safe, so it may be better to have an 
CONFIG_32BIT_ONLY or similar.

-Andi
 
-
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/
On Tue, 2 Sep 2003 18:44:36 +0100
Matthew Wilcox <willy@debian.org> wrote:

> On Tue, Sep 02, 2003 at 07:35:11PM +0200, Andi Kleen wrote:
> > Matthew Wilcox <willy@debian.org> writes:
> > 
> > > What do people think of CONFIG_64_BIT?  It saves us from using
> > > !(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
> > 
> > For Kconfigs it may make sense, but is there any Config rule that 
> > checks for all 64bit archs (opposed to checking for specific archs)?
> > I cannot thinkg of any.
> 
> ... that was what the patch added.

It added a symbol that means that, but are there any users for it?

Ok, I2O and ATM and WANPIPE maybe but I assume that both are getting fixed
Still all those are non 64bit safe, so it may be better to have an 
CONFIG_32BIT_ONLY or similar.

-Andi
 

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

* Re: CONFIG_64_BIT
  2003-09-02 17:52     ` CONFIG_64_BIT Andi Kleen
@ 2003-09-03 13:37       ` Alan Cox
  0 siblings, 0 replies; 9+ messages in thread
From: Alan Cox @ 2003-09-03 13:37 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Matthew Wilcox, Linux Kernel Mailing List

On Maw, 2003-09-02 at 18:52, Andi Kleen wrote:
> Ok, I2O and ATM and WANPIPE maybe but I assume that both are getting fixed
> Still all those are non 64bit safe, so it may be better to have an 
> CONFIG_32BIT_ONLY or similar.

I2O is currently unmaintained. I fixed some of the DMA issues but there
are still a few bits of code that pass pointers in 32bit slots rather
than using array indices.


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

* Re: CONFIG_64_BIT
  2003-09-03 10:10     ` CONFIG_64_BIT Andreas Schwab
@ 2003-09-03 10:44       ` Wade
  0 siblings, 0 replies; 9+ messages in thread
From: Wade @ 2003-09-03 10:44 UTC (permalink / raw)
  To: linux-kernel

Andreas Schwab wrote:
> Geert Uytterhoeven <geert@linux-m68k.org> writes:
> 
> 
>>Why do some many mails from lkml have duplicated contents?
> 
> 
> Might be a problem on your side, I didn't see that.
> 
> Andreas.
> 

No, see the "vger's today hickups" thread.



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

* Re: CONFIG_64_BIT
  2003-09-03  8:39   ` CONFIG_64_BIT Geert Uytterhoeven
@ 2003-09-03 10:10     ` Andreas Schwab
  2003-09-03 10:44       ` CONFIG_64_BIT Wade
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2003-09-03 10:10 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Linux Kernel Development

Geert Uytterhoeven <geert@linux-m68k.org> writes:

> Why do some many mails from lkml have duplicated contents?

Might be a problem on your side, I didn't see that.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: CONFIG_64_BIT
  2003-09-02 17:52 ` CONFIG_64_BIT Jeff Garzik
@ 2003-09-03  8:39   ` Geert Uytterhoeven
  2003-09-03 10:10     ` CONFIG_64_BIT Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2003-09-03  8:39 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Matthew Wilcox, Linux Kernel Development

On Tue, 2 Sep 2003, Jeff Garzik wrote:
> Matthew Wilcox wrote:
> > What do people think of CONFIG_64_BIT?  It saves us from using
> 
> Yes!  Please!
> 
> Though I would of course make it CONFIG_64BIT ;-)

Or CONFIG_LINUX64? :-)

> Matthew Wilcox wrote:
> > What do people think of CONFIG_64_BIT?  It saves us from using

Why do some many mails from lkml have duplicated contents?

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] 9+ messages in thread

* Re: CONFIG_64_BIT
  2003-09-02 14:34 CONFIG_64_BIT Matthew Wilcox
@ 2003-09-02 17:52 ` Jeff Garzik
  2003-09-03  8:39   ` CONFIG_64_BIT Geert Uytterhoeven
  0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2003-09-02 17:52 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-kernel

Matthew Wilcox wrote:
> What do people think of CONFIG_64_BIT?  It saves us from using


Yes!  Please!

Though I would of course make it CONFIG_64BIT ;-)


-
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/
Matthew Wilcox wrote:
> What do people think of CONFIG_64_BIT?  It saves us from using


Yes!  Please!

Though I would of course make it CONFIG_64BIT ;-)



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

* CONFIG_64_BIT
@ 2003-09-02 14:34 Matthew Wilcox
  2003-09-02 17:52 ` CONFIG_64_BIT Jeff Garzik
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Wilcox @ 2003-09-02 14:34 UTC (permalink / raw)
  To: linux-kernel


What do people think of CONFIG_64_BIT?  It saves us from using
!(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
the X86_64 people deciding their architecture is more important.

I also considered CONFIG_ILP32 vs CONFIG_LP64 (since that's the real
problem with, eg, megaraid), but that requires more explanation and
offers people several ways to get it wrong (should I depend on ILP32
or !LP64?)

Index: arch/alpha/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/alpha/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- arch/alpha/Kconfig	23 Aug 2003 02:46:12 -0000	1.3
+++ arch/alpha/Kconfig	2 Sep 2003 14:24:46 -0000
@@ -11,6 +11,9 @@ config ALPHA
 	  now Hewlett-Packard.  The Alpha Linux project has a home page at
 	  <http://www.alphalinux.org/>.
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/ia64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/ia64/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/ia64/Kconfig	12 Aug 2003 19:10:49 -0000	1.2
+++ arch/ia64/Kconfig	2 Sep 2003 14:24:46 -0000
@@ -18,6 +18,9 @@ config IA64
 	  page at <http://www.linuxia64.org/> and a mailing list at
 	  linux-ia64@linuxia64.org.
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/mips/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/mips/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/mips/Kconfig	12 Aug 2003 19:10:50 -0000	1.2
+++ arch/mips/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -11,6 +11,9 @@ config MIPS64
 	  64-bit processing, otherwise say N.  You must say Y for kernels for
 	  SGI IP27 (Origin 200 and 2000).  If in doubt say N.
 
+config 64_BIT
+	def_bool MIPS64
+
 config MIPS32
 	bool
 	depends on MIPS64 = 'n'
Index: arch/parisc/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/parisc/Kconfig,v
retrieving revision 1.6
diff -u -p -r1.6 Kconfig
--- arch/parisc/Kconfig	23 Aug 2003 02:56:56 -0000	1.6
+++ arch/parisc/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -103,6 +103,9 @@ config PARISC64
 	  enable this option otherwise. The 64bit kernel is significantly bigger
 	  and slower than the 32bit one.
 
+config 64_BIT
+	def_bool PARISC64
+
 config PDC_NARROW
 	bool "32-bit firmware"
 	depends on PARISC64
Index: arch/ppc64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/ppc64/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- arch/ppc64/Kconfig	23 Aug 2003 02:46:30 -0000	1.3
+++ arch/ppc64/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -3,6 +3,9 @@
 # see Documentation/kbuild/kconfig-language.txt.
 #
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/s390/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/s390/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/s390/Kconfig	12 Aug 2003 19:10:57 -0000	1.2
+++ arch/s390/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -40,6 +40,9 @@ config ARCH_S390X
 	  Select this option if you have a 64 bit IBM zSeries machine
 	  and want to use the 64 bit addressing mode.
 
+config 64_BIT
+	def_bool ARCH_S390X
+
 config ARCH_S390_31
 	bool
 	depends on ARCH_S390X = 'n'
Index: arch/sparc64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/sparc64/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- arch/sparc64/Kconfig	12 Aug 2003 19:10:57 -0000	1.3
+++ arch/sparc64/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -5,6 +5,9 @@
 
 mainmenu "Linux/UltraSPARC Kernel Configuration"
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/x86_64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/x86_64/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/x86_64/Kconfig	12 Aug 2003 19:10:59 -0000	1.2
+++ arch/x86_64/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -16,6 +16,9 @@ config X86_64
 	  Port to the x86-64 architecture. x86-64 is a 64-bit extension to the
 	  classical 32-bit x86 architecture. For details see http://www.x86-64.org
 
+config 64_BIT
+	def_bool y
+
 config X86
 	bool
 	default y
Index: drivers/scsi/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/scsi/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- drivers/scsi/Kconfig	25 Aug 2003 19:49:06 -0000	1.3
+++ drivers/scsi/Kconfig	2 Sep 2003 14:24:48 -0000
@@ -355,7 +355,7 @@ source "drivers/scsi/aic7xxx/Kconfig.aic
 # All the I2O code and drivers do not seem to be 64bit safe.
 config SCSI_DPT_I2O
 	tristate "Adaptec I2O RAID support "
-	depends on !X86_64 && SCSI
+	depends on !64_BIT && SCSI
 	help
 	  This driver supports all of Adaptec's I2O based RAID controllers as 
 	  well as the DPT SmartRaid V cards.  This is an Adaptec maintained
@@ -416,7 +416,7 @@ config SCSI_AM53C974
 
 config SCSI_MEGARAID
 	tristate "AMI MegaRAID support"
-	depends on PCI && SCSI
+	depends on PCI && SCSI && !64_BIT
 	help
 	  This driver supports the AMI MegaRAID 418, 428, 438, 466, 762, 490
 	  and 467 SCSI host adapters.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
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/

What do people think of CONFIG_64_BIT?  It saves us from using
!(IA64 || MIPS64 || PARISC64 || S390X || SPARC64 || X86_64) or
the X86_64 people deciding their architecture is more important.

I also considered CONFIG_ILP32 vs CONFIG_LP64 (since that's the real
problem with, eg, megaraid), but that requires more explanation and
offers people several ways to get it wrong (should I depend on ILP32
or !LP64?)

Index: arch/alpha/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/alpha/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- arch/alpha/Kconfig	23 Aug 2003 02:46:12 -0000	1.3
+++ arch/alpha/Kconfig	2 Sep 2003 14:24:46 -0000
@@ -11,6 +11,9 @@ config ALPHA
 	  now Hewlett-Packard.  The Alpha Linux project has a home page at
 	  <http://www.alphalinux.org/>.
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/ia64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/ia64/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/ia64/Kconfig	12 Aug 2003 19:10:49 -0000	1.2
+++ arch/ia64/Kconfig	2 Sep 2003 14:24:46 -0000
@@ -18,6 +18,9 @@ config IA64
 	  page at <http://www.linuxia64.org/> and a mailing list at
 	  linux-ia64@linuxia64.org.
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/mips/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/mips/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/mips/Kconfig	12 Aug 2003 19:10:50 -0000	1.2
+++ arch/mips/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -11,6 +11,9 @@ config MIPS64
 	  64-bit processing, otherwise say N.  You must say Y for kernels for
 	  SGI IP27 (Origin 200 and 2000).  If in doubt say N.
 
+config 64_BIT
+	def_bool MIPS64
+
 config MIPS32
 	bool
 	depends on MIPS64 = 'n'
Index: arch/parisc/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/parisc/Kconfig,v
retrieving revision 1.6
diff -u -p -r1.6 Kconfig
--- arch/parisc/Kconfig	23 Aug 2003 02:56:56 -0000	1.6
+++ arch/parisc/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -103,6 +103,9 @@ config PARISC64
 	  enable this option otherwise. The 64bit kernel is significantly bigger
 	  and slower than the 32bit one.
 
+config 64_BIT
+	def_bool PARISC64
+
 config PDC_NARROW
 	bool "32-bit firmware"
 	depends on PARISC64
Index: arch/ppc64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/ppc64/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- arch/ppc64/Kconfig	23 Aug 2003 02:46:30 -0000	1.3
+++ arch/ppc64/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -3,6 +3,9 @@
 # see Documentation/kbuild/kconfig-language.txt.
 #
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/s390/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/s390/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/s390/Kconfig	12 Aug 2003 19:10:57 -0000	1.2
+++ arch/s390/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -40,6 +40,9 @@ config ARCH_S390X
 	  Select this option if you have a 64 bit IBM zSeries machine
 	  and want to use the 64 bit addressing mode.
 
+config 64_BIT
+	def_bool ARCH_S390X
+
 config ARCH_S390_31
 	bool
 	depends on ARCH_S390X = 'n'
Index: arch/sparc64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/sparc64/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- arch/sparc64/Kconfig	12 Aug 2003 19:10:57 -0000	1.3
+++ arch/sparc64/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -5,6 +5,9 @@
 
 mainmenu "Linux/UltraSPARC Kernel Configuration"
 
+config 64_BIT
+	def_bool y
+
 config MMU
 	bool
 	default y
Index: arch/x86_64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/arch/x86_64/Kconfig,v
retrieving revision 1.2
diff -u -p -r1.2 Kconfig
--- arch/x86_64/Kconfig	12 Aug 2003 19:10:59 -0000	1.2
+++ arch/x86_64/Kconfig	2 Sep 2003 14:24:47 -0000
@@ -16,6 +16,9 @@ config X86_64
 	  Port to the x86-64 architecture. x86-64 is a 64-bit extension to the
 	  classical 32-bit x86 architecture. For details see http://www.x86-64.org
 
+config 64_BIT
+	def_bool y
+
 config X86
 	bool
 	default y
Index: drivers/scsi/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/scsi/Kconfig,v
retrieving revision 1.3
diff -u -p -r1.3 Kconfig
--- drivers/scsi/Kconfig	25 Aug 2003 19:49:06 -0000	1.3
+++ drivers/scsi/Kconfig	2 Sep 2003 14:24:48 -0000
@@ -355,7 +355,7 @@ source "drivers/scsi/aic7xxx/Kconfig.aic
 # All the I2O code and drivers do not seem to be 64bit safe.
 config SCSI_DPT_I2O
 	tristate "Adaptec I2O RAID support "
-	depends on !X86_64 && SCSI
+	depends on !64_BIT && SCSI
 	help
 	  This driver supports all of Adaptec's I2O based RAID controllers as 
 	  well as the DPT SmartRaid V cards.  This is an Adaptec maintained
@@ -416,7 +416,7 @@ config SCSI_AM53C974
 
 config SCSI_MEGARAID
 	tristate "AMI MegaRAID support"
-	depends on PCI && SCSI
+	depends on PCI && SCSI && !64_BIT
 	help
 	  This driver supports the AMI MegaRAID 418, 428, 438, 466, 762, 490
 	  and 467 SCSI host adapters.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

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

end of thread, other threads:[~2003-09-03 13:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030902143424.GO13467@parcelfarce.linux.theplanet.co.uk.suse.lists.linux.kernel>
2003-09-02 17:35 ` CONFIG_64_BIT Andi Kleen
2003-09-02 17:44   ` CONFIG_64_BIT Matthew Wilcox
2003-09-02 17:52     ` CONFIG_64_BIT Andi Kleen
2003-09-03 13:37       ` CONFIG_64_BIT Alan Cox
2003-09-02 14:34 CONFIG_64_BIT Matthew Wilcox
2003-09-02 17:52 ` CONFIG_64_BIT Jeff Garzik
2003-09-03  8:39   ` CONFIG_64_BIT Geert Uytterhoeven
2003-09-03 10:10     ` CONFIG_64_BIT Andreas Schwab
2003-09-03 10:44       ` CONFIG_64_BIT Wade

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