public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CONFIG_EISA note in Documentation/Configure.help
@ 2000-11-14  0:07 Steven Cole
  2000-11-14 19:59 ` Andries Brouwer
  0 siblings, 1 reply; 12+ messages in thread
From: Steven Cole @ 2000-11-14  0:07 UTC (permalink / raw)
  To: linux-kernel

I noticed there was no help section for CONFIG_EISA in Configure.help.
Here is a micro patch.  Hope this is not "really superfluous" this time.

	Steven

diff -urN linux/Documentation/Configure.help.orig 
linux/DocumentationConfigure.help
--- linux/Documentation/Configure.help.orig     Sat Nov 11 21:41:55 2000
+++ linux/Documentation/Configure.help  Mon Nov 13 16:53:45 2000
@@ -2482,6 +2482,20 @@
   Documentation/mca.txt (and especially the web page given there)
   before attempting to build an MCA bus kernel.

+EISA support
+CONFIG_EISA
+  The Extended Industry Standard Architecture (EISA) bus was
+  developed as an open alternative to the IBM MicroChannel bus.
+
+  The EISA bus provided some of the features of the IBM MicroChannel
+  bus while maintaining backward compatibility with cards made for
+  the older ISA bus. The EISA bus saw limited use between 1988 and 1995
+  when it was made obsolete by the PCI bus.
+
+  Say Y here if you are building a kernel for an EISA-based machine.
+
+  Otherwise, say N.
+
 SGI Visual Workstation support
 CONFIG_VISWS
   The SGI Visual Workstation series is an IA32-based workstation
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH] CONFIG_EISA note in Documentation/Configure.help
@ 2000-11-14 20:48 Steven Cole
  2000-11-14 21:06 ` Jeff Garzik
  0 siblings, 1 reply; 12+ messages in thread
From: Steven Cole @ 2000-11-14 20:48 UTC (permalink / raw)
  To: linux-kernel

Jeff Garzik wrote:
>
>Agreed, for the most part.  If you know for sure you don't have an EISA
>machine, you can now disable CONFIG_EISA.  IMHO ideally one should be
>able to eliminate code that is useless on all but a small subset of
>working machines.

Well, the CONFIG_EISA option is there.  My little patch was just intended to 
slightly enlighten those prone to "lets see what this option does".  I 
compiled test11-pre4 both with and without CONFIG_EISA and the difference is
very slight.  Of course, if you had more items with EISA code, this difference
would be bigger.

 848 -rw-r--r--    1 root     root       868179 Nov 14 13:32 bzImage
 848 -rw-r--r--    1 root     root       867973 Nov 14 13:28 bzImage.no_eisa

The difference probably comes from my 3c59x driver.

I also uglied up the 3c59x.c code with #ifdef CONFIG_EISA around the
six sections relavant to EISA to see if that would save anything, and the
object file was only 318 bytes smaller, probably not worth the uglyness of
the six ifdefs.  That modified code was not used in the above comparison.

I am running that modified code right now, BTW.

Jeff, I can send you the patch for the hacked up 3c59x.c if you're at all 
interested.

Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH] CONFIG_EISA note in Documentation/Configure.help
@ 2000-11-14 21:22 Steven Cole
  0 siblings, 0 replies; 12+ messages in thread
From: Steven Cole @ 2000-11-14 21:22 UTC (permalink / raw)
  To: linux-kernel

Andries Brouwer wrote:
>
>(i) I am a bit unhappy about adding configuration options
>like this. It regularly happens that I want to compile some kernel
>for some machine and have to grep the source and look at the config
>files how to enable something. A machine with RTL-8139? Let me see,

I apologize: I did not specify that the patch for configure.help was for
2.4.0-test series only.   Looking at 2.2.17, there is _no_ CONFIG_EISA.

>However, CONFIG_EISA is almost completely superfluous, is not
>required at compile time, can easily be tested at run time,
>in other words adding such an option is a very stupid thing to do.

Well, it got added sometime, and its there now for 2.4.0-testX.  I am just 
trying to fill in the blanks so that the help buttons have something helpful 
to say. 

Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH] CONFIG_EISA note in Documentation/Configure.help
@ 2000-11-14 23:37 Andrzej Krzysztofowicz
  0 siblings, 0 replies; 12+ messages in thread
From: Andrzej Krzysztofowicz @ 2000-11-14 23:37 UTC (permalink / raw)
  To: aeb; +Cc: elenstev, linux-kernel

> On Mon, Nov 13, 2000 at 05:07:22PM -0700, Steven Cole wrote:
> > +EISA support
> > +CONFIG_EISA
> > +  The Extended Industry Standard Architecture (EISA) bus was
> 
> (i) I am a bit unhappy about adding configuration options
> like this. It regularly happens that I want to compile some kernel

You are unhappy, I am happy.
Now I can disable some drivers, which I am sure I don't need setting a single
option instead of few.
Also it anables better separation of architecture specyfic drivers:
do you know of Amiga with EISA ?  Does my mips support it ?

# grep drivers/net/Config.in arch/*/config.in
arch/alpha/config.in:    source drivers/net/Config.in
arch/arm/config.in:      source drivers/net/Config.in
arch/i386/config.in:      source drivers/net/Config.in
arch/ia64/config.in:    source drivers/net/Config.in
arch/mips/config.in:     source drivers/net/Config.in
arch/mips64/config.in:      source drivers/net/Config.in
arch/ppc/config.in:    source drivers/net/Config.in
arch/sh/config.in:      source drivers/net/Config.in

> for some machine and have to grep the source and look at the config
> files how to enable something. A machine with RTL-8139? Let me see,
> that requires CONFIG_EXPERIMENTAL. (Not today, but until recently.)
> How do I get FireWire? Also requires CONFIG_EXPERIMENTAL. This
> CONFIG_EXPERIMENTAL is a very strange option. I know about my hardware,
> perhaps, but there is no reason to suppose that I know about the
> progress in development of Linux drivers for this hardware.
> Instead of having a global CONFIG_EXPERIMENTAL we should have
> a warning at each place that the driver is alpha.

Look at CML2 project. It supports a function showing all possible options,
if you choose... But it is project for Linux 2.5.

> If one does "make xconfig" then one sees a greyed out area,
> and the sometimes nontrivial puzzle is how to enable it.
> But with "make menuconfig" one never even sees the option,

But in "make config" you see much more than you want...

> (ii) In particular about this CONFIG_EISA and the given explanation.
> I have a computer, yes, several. But do I know whether it has
> an EISA bus? A week ago I hardly knew what EISA was, and would have
> been unable to answer. Today I know the answer for a handful of them
> but have not yet investigated the others.

OK. I tried to build an universal kernel, which supports every hardware &
software kernel drivers I ever needed on i386. It was much too big to
boot... (6 MB compressed)

> Now, if this knowledge was of major importance for the kernel
> then perhaps I had to learn about such details.
> However, CONFIG_EISA is almost completely superfluous, is not
> required at compile time, can easily be tested at run time,
> in other words adding such an option is a very stupid thing to do.

If you have too much memory, you can always choose CONFIG_EISA=y by default.
 
> [Steven, you understand that I would have written under CONFIG_EISA:
> say Y here - there is never any reason to say N, unless there exists
> hardware where the canonical probing hangs the machine.]
> 
> The number of configuration options should be minimized.
> That is good for the user - fewer questions to answer.

Note, that "number of configuration options should be minimized"
and "fewer questions to answer" are not equivalent.

BTW,  CONFIG_MCA needs some cleaning, also.

Andrzej
-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  tel.  (0-58) 347 14 61
Wydz.Fizyki Technicznej i Matematyki Stosowanej Politechniki Gdanskiej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH] CONFIG_EISA note in Documentation/Configure.help
@ 2000-11-17 23:47 Andries.Brouwer
  0 siblings, 0 replies; 12+ messages in thread
From: Andries.Brouwer @ 2000-11-17 23:47 UTC (permalink / raw)
  To: aeb, alan; +Cc: linux-kernel, p_gortmaker

> Some clues here
> ... escd.html ... escd.rtf

Thanks! I already had the former (but it refers to the EISA
spec for most details) will look for the latter.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-18 12:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-14  0:07 [PATCH] CONFIG_EISA note in Documentation/Configure.help Steven Cole
2000-11-14 19:59 ` Andries Brouwer
2000-11-14 20:23   ` Jeff Garzik
2000-11-14 21:00     ` Andries Brouwer
     [not found]   ` <3A127070.7DEE2527@yahoo.com>
2000-11-17 22:01     ` Andries Brouwer
2000-11-17 23:24       ` Alan Cox
2000-11-18 11:26       ` Christer Weinigel
  -- strict thread matches above, loose matches on Subject: below --
2000-11-14 20:48 Steven Cole
2000-11-14 21:06 ` Jeff Garzik
2000-11-14 21:22 Steven Cole
2000-11-14 23:37 Andrzej Krzysztofowicz
2000-11-17 23:47 Andries.Brouwer

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