+#ifndef MODULE
+static int __init applicom_setup(char *str)
+{
+ int ints[4];
+
+ (void) get_options(str, 4, ints);
+
+ if (ints[0] > 2) {
+ printk(KERN_WARNING "Too many arguments to 'applicom=', expected mem,irq only.\n");
+ }
+
+ if (ints[0] < 2) {
+ printk(KERN_INFO"applicom numargs: %d\n", ints[0]);
+ return 0;
+ }
+
+ mem = ints[1];
+ irq = ints[2];
+ return 1;
+}
+
+__setup("applicom=", applicom_setup);
+
+#endif /* MODULE */
+