What function i have to use to put a delay in a driver at kernel mode
between reading from and writing to com port.
Looking forward for ur help.
Thanx & Regards
Rajeev Nigam
Rajeev Nigam <[email protected]> on 04/24/2001 03:29:04 PM
To: [email protected]
cc: (bcc: Amol Lad/HSS)
Subject: Delay Function
What function i have to use to put a delay in a driver at kernel mode
between reading from and writing to com port.
Looking forward for ur help.
Thanx & Regards
Rajeev Nigam
It may be possible that this is not the good choice...
but u can try ... schedule_timeout(timeout) function.... see kernel/sched.c for
more details about this function
Amol
Rajeev Nigam <[email protected]> on 04/24/2001 03:29:04 PM
To: [email protected]
cc: (bcc: Amol Lad/HSS)
Subject: Delay Function
What function i have to use to put a delay in a driver at kernel mode
between reading from and writing to com port.
Looking forward for ur help.
Thanx & Regards
Rajeev Nigam
There is udelay(usecs) function which has told by Ofer Fryman one of the
member of mailing list, not delay(usecs) and its working properly.
Thanx to u all for ur cooperation.
Regards,
Rajeev
-----Original Message-----
From: Hubertus Franke [mailto:[email protected]]
Sent: Tuesday, April 24, 2001 7:04 PM
To: [email protected]
Cc: Rajeev Nigam
Subject: Re: Delay Function
you might want to use delay(usecs)..
Hubertus Franke
Enterprise Linux Group (Mgr), Linux Technology Center (Member Scalability)
, OS-PIC (Chair)
email: [email protected]
(w) 914-945-2003 (fax) 914-945-4425 TL: 862-2003
[email protected]@vger.kernel.org on 04/24/2001 04:58:19 AM
Sent by: [email protected]
To: Rajeev Nigam <[email protected]>
cc: [email protected]
Subject: Re: Delay Function
It may be possible that this is not the good choice...
but u can try ... schedule_timeout(timeout) function.... see kernel/sched.c
for
more details about this function
Amol
Rajeev Nigam <[email protected]> on 04/24/2001 03:29:04 PM
To: [email protected]
cc: (bcc: Amol Lad/HSS)
Subject: Delay Function
What function i have to use to put a delay in a driver at kernel mode
between reading from and writing to com port.
Looking forward for ur help.
Thanx & Regards
Rajeev Nigam