• Sergei Shtylyov's avatar
    [PATCH] ide: optimize HPT37x timing tables · 471a0bda
    Sergei Shtylyov authored
    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: default avatarSergei 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    471a0bda
hpt366.c 44.5 KB