[PATCH] procfs dependency in drivers/net/wan/comx.c

From: Rasmus Andersen (rasmus@diku.dk)
Date: Tue Aug 01 2000 - 14:19:25 EST


Hi.

The MultiGate (COMX) synchronous serial boards driver (drivers/net/wan/comx.c)
is dependent on procfs support (due to an #error define). This is not
mentioned in the help text or reflected in the Config.in.

The first of the patches below changes drivers/net/wan/Config.in to
make CONFIG_COMX depend on CONFIG_PROC_FS. Alternatively or additionally
the second patch can be applied which includes the dependency information
in the Configure.help text for CONFIG_COMX. I'll leave the decision to
wiser minds.

--- linux-240test6pre1-clean/drivers/net/wan/Config.in Mon Jul 31 21:04:44 2000
+++ linux/drivers/net/wan/Config.in Tue Aug 1 20:56:01 2000
@@ -20,7 +20,7 @@
         # COMX drivers
         #
 
- tristate 'MultiGate (COMX) synchronous serial boards support' CONFIG_COMX
+ dep_tristate 'MultiGate (COMX) synchronous serial boards support' CONFIG_COMX $CONFIG_PROC_FS
 
         #
         # Lan Media's board. Currently 1000, 1200, 5200, 5245

--- linux-240test6pre1-clean/Documentation/Configure.help Mon Jul 31 21:04:59 2000
+++ linux/Documentation/Configure.help Tue Aug 1 21:01:07 2000
@@ -7877,6 +7877,9 @@
   and using COMX interfaces. Further info on these cards can be found
   at http://www.itc.hu or <info@itc.hu>.
 
+ You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
+ use this part of the kernel.
+

   If you want to compile this as a module, say M and read
   Documentation/modules.txt. The module will be called comx.o.
 

        Rasmus(rasmus@diku.dk)

If one is really a superior person, the fact is likely to leak out without
too much assistance -- John Andrew Holmes

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



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:06 EST