]> Pileus Git - ~andy/linux/commit
pata_sis: fix MWDMA for <= UDMA66 chipsets and UDMA for UDMA33 chipsets
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Jul 2007 20:02:41 +0000 (22:02 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 1 Aug 2007 14:00:56 +0000 (10:00 -0400)
commit4761c06cb39011c9cc3fef9e6bbfb4c50ceb307d
tree6ed68ed603e48d1197e0f9d2329e0cc32f09e218
parent5d6aca8defe77dfd0f0169cc015b900129078648
pata_sis: fix MWDMA for <= UDMA66 chipsets and UDMA for UDMA33 chipsets

* Fix MWDMA timings setup in sis_old_set_dmamode() and sis_66_set_dmamode().

  The old timings were overclocked (even worse behavior than sis5513 IDE driver
  which depends on BIOS to program correct timings), the new timings are taken
  from the datasheet (they match timings from ATA spec).

* Fix UDMA timings setup in sis_old_set_dmamode().

  Misplaced pci_write_config_word() call resulted in UDMA timings never
  being set.

* Fix comments for sis_133_early_set_dmamode() and sis_133_set_dmamode():
  - only the former function handles early SiS 961 bridges
  - both functions lack MWDMA timings setup

* Fix typos in sis_100_set_piomode() and sis_133_set_piomode() comments.

* Bump driver version.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_sis.c