CONFIG_EISA note in Documentation/Configure.help
Quoted 5 lines · Jeff Garzik
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Steven Cole
Well, the
CONFIG_EISAoption 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 withoutCONFIG_EISAand 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
Quoted 6 lines
The difference probably comes from my 3c59x driver.
I also uglied up the
3c59x.ccode with #ifdefCONFIG_EISAaround 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.
When !CONFIG_EISA, the global variable 'EISA_bus' is unconditionally zero. Therefore you merely need to test EISA_bus, as existing code already should be doing.. As for 3c59x patches, they should go to the maintainer, Andrew Morton..
Jeff
Signature · 7 lines
Jeff Garzik | Building 1024 | The chief enemy of creativity is "good" sense MandrakeSoft | -- Picasso - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/