X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fcyclades.h;h=337156ca8a7da22ae4d7c8c70f2b6766872a77a7;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=46d8254c1a792a59d52471723b761482399af3bf;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h index 46d8254c1..337156ca8 100644 --- a/include/linux/cyclades.h +++ b/include/linux/cyclades.h @@ -624,7 +624,11 @@ struct cyclades_port { #define Cy_EVENT_DELTA_WAKEUP 6 #define Cy_EVENT_Z_RX_FULL 7 +#if HZ < 2185 #define CLOSING_WAIT_DELAY 30*HZ +#else +#define CLOSING_WAIT_DELAY 65534 +#endif #define CY_CLOSING_WAIT_NONE 65535 #define CY_CLOSING_WAIT_INF 0