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)
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

Simple merge