]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pata_cs5536: forward port changes from cs5536
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 13 Oct 2011 11:05:24 +0000 (13:05 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 7 Dec 2011 20:03:13 +0000 (15:03 -0500)
commit181bfe2fe8ec2241967951b4d5696a7778d832be
tree23af420e6689c08401416bef024d0e6827198577
parented2111dbe78273d569f1826b127149c23b9c70e9
pata_cs5536: forward port changes from cs5536

* Fix cable detection to also account for the slave device cable bit.

* Disable UDMA when programming MWDMA in cs5536_set_dmamode().

* Don't change UDMA settings in cs5536_set_piomode().

* Add cs5536_program_dtc() helper.

* Cleanup and uninline cs5536_[read,write]() methods.

Cc: Martin K. Petersen <mkp@mkp.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_cs5536.c