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 |
---|---|---|
Kconfig | -rw-r--r-- | 3.4 KB |
Makefile | -rw-r--r-- | 338 bytes |
addr.c | -rw-r--r-- | 2.9 KB |
addr.h | -rw-r--r-- | 3.6 KB |
bcast.c | -rw-r--r-- | 20.8 KB |
bcast.h | -rw-r--r-- | 5.4 KB |
bearer.c | -rw-r--r-- | 17.6 KB |
bearer.h | -rw-r--r-- | 6.1 KB |
cluster.c | -rw-r--r-- | 14.5 KB |
cluster.h | -rw-r--r-- | 3.5 KB |
config.c | -rw-r--r-- | 19.3 KB |
config.h | -rw-r--r-- | 3.0 KB |
core.c | -rw-r--r-- | 7.1 KB |
core.h | -rw-r--r-- | 9.9 KB |
dbg.c | -rw-r--r-- | 11.2 KB |
dbg.h | -rw-r--r-- | 2.9 KB |
discover.c | -rw-r--r-- | 9.7 KB |
discover.h | -rw-r--r-- | 2.3 KB |
eth_media.c | -rw-r--r-- | 8.7 KB |
handler.c | -rw-r--r-- | 4.0 KB |
link.c | -rw-r--r-- | 86.7 KB |
link.h | -rw-r--r-- | 9.8 KB |
msg.c | -rw-r--r-- | 9.2 KB |
msg.h | -rw-r--r-- | 17.3 KB |
name_distr.c | -rw-r--r-- | 9.2 KB |
name_distr.h | -rw-r--r-- | 2.1 KB |
name_table.c | -rw-r--r-- | 27.7 KB |
name_table.h | -rw-r--r-- | 4.1 KB |
net.c | -rw-r--r-- | 9.7 KB |
net.h | -rw-r--r-- | 2.4 KB |
netlink.c | -rw-r--r-- | 3.4 KB |
node.c | -rw-r--r-- | 18.5 KB |
node.h | -rw-r--r-- | 5.4 KB |
node_subscr.c | -rw-r--r-- | 2.8 KB |
node_subscr.h | -rw-r--r-- | 2.6 KB |
port.c | -rw-r--r-- | 40.7 KB |
port.h | -rw-r--r-- | 6.3 KB |
ref.c | -rw-r--r-- | 8.5 KB |
ref.h | -rw-r--r-- | 2.1 KB |
socket.c | -rw-r--r-- | 45.3 KB |
subscr.c | -rw-r--r-- | 15.9 KB |
subscr.h | -rw-r--r-- | 3.0 KB |
user_reg.c | -rw-r--r-- | 6.5 KB |
user_reg.h | -rw-r--r-- | 2.1 KB |
zone.c | -rw-r--r-- | 4.6 KB |
zone.h | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...