Re: patch for PLIP and slow, interrupt-less computers

From: Andreas Schwab (schwab@suse.de)
Date: Sat Apr 14 2001 - 12:44:33 EST


"W. Michael Petullo" <mike@flyn.org> writes:

|> Here is the patch:
|>
|> ================================================================================
|>
|> --- plip.c Tue Feb 13 16:15:05 2001
|> +++ /tmp/linux/drivers/net/plip.c Thu Apr 12 16:07:07 2001
|> @@ -137,10 +137,10 @@
|> #define PLIP_DELAY_UNIT 1
|>
|> /* Connection time out = PLIP_TRIGGER_WAIT * PLIP_DELAY_UNIT usec */
|> -#define PLIP_TRIGGER_WAIT 500
|> +static unsigned long trigger_wait = 500;
           ^^^^^^^^^^^^^
|>
|> /* Nibble time out = PLIP_NIBBLE_WAIT * PLIP_DELAY_UNIT usec */
|> -#define PLIP_NIBBLE_WAIT 3000
|> +static unsigned long nibble_wait = 3000;
           ^^^^^^^^^^^^^
|> @@ -1297,6 +1297,8 @@
|>
|> MODULE_PARM(parport, "1-" __MODULE_STRING(PLIP_MAX) "i");
|> MODULE_PARM(timid, "1i");
|> +MODULE_PARM(trigger_wait, "i");
|> +MODULE_PARM(nibble_wait, "i");
                             ^^^
The types don't match.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:23 EST