[PATCH] ATA: cleanup of channel->autodma flags usage

Bartlomiej Zolnierkiewicz (B.Zolnierkiewicz@elka.pw.edu.pl)
Tue, 25 Jun 2002 21:31:34 +0200 (MET DST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-824023566-1025033494=:27820
Content-Type: TEXT/PLAIN; charset=US-ASCII

incremental to generic ATA PCI auto-dma patches...

- clean usage of ch->autodma flag in PCI host chips drivers

- remove ATA_F_NOAUTODMA flag from aec62xx.c, hpt34x.c,
sis5513.c and via82cxxx.c drivers, it's use was bogus
in these drivers

only two usages of ATA_F_NOAUTODMA are left (in ide-pci.c),
probably they can alse be removed due to fact that drivers
should disable autodma not ide-pci (i.e. hpt34x)

- teach alim15x3.c, cs5530.c, cy82c693.c, hpt34x.c, hpt366.c,
it8172.c, pdc202xx.c, sis5513.c, sl82c105.c, and trm290.c
drivers about CONFIG_IDEDMA_AUTO (indirectly through ide-pci)

- make it possible to auto-tune DMA for trm290.c

- always check PIO timings in cs5530.c

--
Bartlomiej Zolnierkiewicz

---559023410-824023566-1025033494=:27820 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ata-autodma.diff" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.SOL.4.30.0206252131340.27820@mion.elka.pw.edu.pl> Content-Description: Content-Disposition: attachment; filename="ata-autodma.diff"

ZGlmZiAtdXIgbGludXgtYXRhLWhvc3RzLTExL2RyaXZlcnMvaWRlL2FlYzYy eHguYyBsaW51eC9kcml2ZXJzL2lkZS9hZWM2Mnh4LmMNCi0tLSBsaW51eC1h dGEtaG9zdHMtMTEvZHJpdmVycy9pZGUvYWVjNjJ4eC5jCU1vbiBKdW4gMjQg MjI6MzU6MTAgMjAwMg0KKysrIGxpbnV4L2RyaXZlcnMvaWRlL2FlYzYyeHgu YwlNb24gSnVuIDI0IDIzOjU1OjE1IDIwMDINCkBAIC0yNTEsNyArMjUxLDYg QEANCiANC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QotIyBpZmRlZiBDT05GSUdfSURFRE1BX0FVVE8NCi0J CWlmICghbm9hdXRvZG1hKQ0KLQkJCWh3aWYtPmF1dG9kbWEgPSAxOw0KLSMg ZW5kaWYNCiAJfQ0KICNlbmRpZg0KIH0NCkBAIC0zOTEsNyArMzg2LDYgQEAN CiAJCWluaXRfZG1hOiB2aWE4MmN4eHhfaW5pdF9kbWEsDQogCQllbmFibGVi aXRzOiB7ezB4NDAsMHgwMiwweDAyfSwgezB4NDAsMHgwMSwweDAxfX0sDQog CQlib290YWJsZTogT05fQk9BUkQsDQotCQlmbGFnczogQVRBX0ZfTk9BRE1B DQogCX0sDQogCXsNCiAJCXZlbmRvcjoJUENJX1ZFTkRPUl9JRF9WSUEsDQpA QCAtNDAyLDcgKzM5Niw2IEBADQogCQlpbml0X2RtYTogdmlhODJjeHh4X2lu aXRfZG1hLA0KIAkJZW5hYmxlYml0czoge3sweDQwLDB4MDIsMHgwMn0sIHsw eDQwLDB4MDEsMHgwMX19LA0KIAkJYm9vdGFibGU6IE9OX0JPQVJELA0KLQkJ ZmxhZ3M6IEFUQV9GX05PQURNQQ0KIAl9LA0KIH07DQogDQo= ---559023410-824023566-1025033494=:27820-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/