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)
commit36beb82390235236c60eb97ca526b1cad97e2df3
treeb109c9cd0fc5bb5f49cf8da22d84b874111a233e
parent152af05cc85119d294b977ab4de07a781795c298
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