[2.4 patch] disallow modular CONFIG_COMX

From: Adrian Bunk
Date: Sat Jan 10 2004 - 20:31:46 EST


On Wed, Dec 31, 2003 at 04:26:43PM +0100, Andreas Haumer wrote:
>...
> Hi!

Hi Andreas!

>...
> Here's a first report:
>...
> *) Unresolved symbol in kernel/drivers/net/wan/comx.o: proc_get_inode
>...

CONFIG_COMX=m always gave an unresolved symbol in kernel 2.4, and it
seems noone is interested in properly fixing it.

The patch below disallows a modular CONFIG_COMX.

cu
Adrian

--- linux-2.4.25-pre4-modular/drivers/net/wan/Config.in.old 2004-01-11 01:38:08.000000000 +0100
+++ linux-2.4.25-pre4-modular/drivers/net/wan/Config.in 2004-01-11 01:39:20.000000000 +0100
@@ -23,7 +23,7 @@
# COMX drivers
#

- tristate ' MultiGate (COMX) synchronous serial boards support' CONFIG_COMX
+ bool ' MultiGate (COMX) synchronous serial boards support' CONFIG_COMX
if [ "$CONFIG_COMX" != "n" ]; then
dep_tristate ' Support for COMX/CMX/HiCOMX boards' CONFIG_COMX_HW_COMX $CONFIG_COMX
dep_tristate ' Support for LoCOMX board' CONFIG_COMX_HW_LOCOMX $CONFIG_COMX
--- linux-2.4.25-pre4-modular/Documentation/Configure.help.old 2004-01-11 01:39:35.000000000 +0100
+++ linux-2.4.25-pre4-modular/Documentation/Configure.help 2004-01-11 01:40:14.000000000 +0100
@@ -11149,9 +11149,6 @@
You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
use this driver.

- If you want to compile this as a module, say M and read
- <file:Documentation/modules.txt>. The module will be called comx.o.
-
Support for COMX/CMX/HiCOMX boards
CONFIG_COMX_HW_COMX
Hardware driver for the 'CMX', 'COMX' and 'HiCOMX' boards from the
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/