Skip to content

Commit

Permalink
[PATCH] ide: optimize HPT37x timing tables
Browse files Browse the repository at this point in the history
Save some space on the timing tables by introducing the separate transfer mode
table in which the mode lookup is done to get the index into the timing table
itself.  Get rid of the rest of the obsolete/duplicate tables and use one set
of tables for the whole HPT37x chip family like the HighPoint open-source
drivers do.  Documnent the different timing register layout for the HPT36x
chip family (this is my guesswork based on the timing values).

Have been tested and works fine on HPT370/302/371N.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Sergei Shtylyov authored and Linus Torvalds committed Dec 13, 2006
1 parent 9448732 commit 471a0bd
Showing 1 changed file with 174 additions and 230 deletions.
Loading

0 comments on commit 471a0bd

Please sign in to comment.