X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fs390%2Fnet%2Flcs.c;h=cd581306d85071629b9a77f1a2c196e974780800;hb=2cf7311f007833d5818fc9241c09a372c0325a4a;hp=cac57951ae28f956690fa8bad659128328af3784;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index cac57951a..cd581306d 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c @@ -11,7 +11,7 @@ * Frank Pavlic (pavlic@de.ibm.com) and * Martin Schwidefsky * - * $Revision: 1.85 $ $Date: 2004/08/04 11:05:43 $ + * $Revision: 1.81 $ $Date: 2004/05/14 13:54:33 $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,6 @@ #include #include #include -#include #include #include @@ -59,7 +58,7 @@ /** * initialization string for output */ -#define VERSION_LCS_C "$Revision: 1.85 $" +#define VERSION_LCS_C "$Revision: 1.81 $" static char version[] __initdata = "LCS driver ("VERSION_LCS_C "/" VERSION_LCS_H ")"; static char debug_buffer[255]; @@ -1047,8 +1046,8 @@ lcs_register_mc_addresses(void *data) } spin_unlock(&card->ipm_lock); read_unlock(&in4_dev->lock); - in_dev_put(in4_dev); lcs_fix_multicast_list(card); + in_dev_put(in4_dev); return 0; } /** @@ -1421,7 +1420,7 @@ lcs_resetcard(struct lcs_card *card) card->dev->name); return 0; } - msleep(3000); + schedule_timeout(3 * HZ); } PRINT_ERR("Error in Reseting LCS card!\n"); return -EIO;