hpt366: merge set_dma_mode() methods
commit866664d79f6a920af07e6503f64366f4c5b2d41f
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 25 Jan 2008 21:17:05 +0000 (25 22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:05 +0000 (25 22:17 +0100)
tree74a6b06d79be8f3b0bb195657c37b386a21ac9cf
parenta488f34e0dc7180f35fe48a60596fc82fe69d3ef
hpt366: merge set_dma_mode() methods

Group the array of pointers to the timing tables with the timing register masks
which allows us to merge HPT36x/HPT37x set_dma_mode() methods into one.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/hpt366.c