]> git.baikalelectronics.ru Git - kernel.git/commit
pata_serverworks: Fix problem with some drive combinations
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 5 Nov 2007 15:04:40 +0000 (15:04 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Nov 2007 23:08:46 +0000 (18:08 -0500)
commit32d23ade546450d869672e31d4346ecf4be84c29
treeb109c9cd0fc5bb5f49cf8da22d84b874111a233e
parent52367d1590f5b905f104379a58c9aa3059b18a50
pata_serverworks: Fix problem with some drive combinations

The driver used the channel not the device number for deciding where to
load some timing parameters. Also change so that we clear the UDMA field
as the old driver did. Not believed neccessary but does no harm.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_serverworks.c