Revision ffab6cf44e9058fe75a33aa86386b22e616a8f6f authored by Sergei Shtylyov on 08 July 2008, 17:27:22 UTC, committed by Bartlomiej Zolnierkiewicz on 08 July 2008, 17:27:22 UTC
The driver uses completely bogus rounding formula for calculating period from the IDECLK frequency which gives one-off period values (e.g. 11 ns with 100 MHz IDECLK) which in turn can lead to overclocked IDE transfer timings. Actually, rounding is just wrong in this case, so use a mere division for a safe result. While at it, also: - give 'ide_palm_clk' variable a more suitable name; - get rid of the useless 'ideclkp' variable; - drop the LISP stype 'p' postfix from the 'clkp' variable's name. :-) Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: mcherkashin@ru.mvista.com Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
1 parent a861beb
File | Mode | Size |
---|---|---|
auth_gss | ||
xprtrdma | ||
Makefile | -rw-r--r-- | 477 bytes |
auth.c | -rw-r--r-- | 13.4 KB |
auth_generic.c | -rw-r--r-- | 4.3 KB |
auth_null.c | -rw-r--r-- | 2.5 KB |
auth_unix.c | -rw-r--r-- | 5.5 KB |
cache.c | -rw-r--r-- | 30.6 KB |
clnt.c | -rw-r--r-- | 37.1 KB |
rpc_pipe.c | -rw-r--r-- | 21.5 KB |
rpcb_clnt.c | -rw-r--r-- | 15.9 KB |
sched.c | -rw-r--r-- | 25.5 KB |
socklib.c | -rw-r--r-- | 4.5 KB |
stats.c | -rw-r--r-- | 6.7 KB |
sunrpc_syms.c | -rw-r--r-- | 1.4 KB |
svc.c | -rw-r--r-- | 24.4 KB |
svc_xprt.c | -rw-r--r-- | 28.2 KB |
svcauth.c | -rw-r--r-- | 3.7 KB |
svcauth_unix.c | -rw-r--r-- | 20.1 KB |
svcsock.c | -rw-r--r-- | 33.8 KB |
sysctl.c | -rw-r--r-- | 3.8 KB |
timer.c | -rw-r--r-- | 2.4 KB |
xdr.c | -rw-r--r-- | 26.9 KB |
xprt.c | -rw-r--r-- | 29.5 KB |
xprtsock.c | -rw-r--r-- | 53.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...