[PATCH] 2.5.24: generic ATA PCI auto-dma tuning (5/5)

Bartlomiej Zolnierkiewicz (B.Zolnierkiewicz@elka.pw.edu.pl)
Tue, 25 Jun 2002 21:17:05 +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-33463914-1025032625=:27820
Content-Type: TEXT/PLAIN; charset=US-ASCII

- split config_chipset_for_dma() in pdc202xx.c to
pdc202xx_udma_setup() and pdc202xx_tx_udma_setup()

- convert it8172.c and pdc202xx.c to new scheme

--
Bartlomiej Zolnierkiewicz

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

ZGlmZiAtdXIgbGludXgtYXRhLWhvc3RzLTEwL2RyaXZlcnMvaWRlL2l0ODE3 Mi5jIGxpbnV4L2RyaXZlcnMvaWRlL2l0ODE3Mi5jDQotLS0gbGludXgtYXRh LWhvc3RzLTEwL2RyaXZlcnMvaWRlL2l0ODE3Mi5jCU1vbiBKdW4gMjQgMjI6 MTU6MTggMjAwMg0KKysrIGxpbnV4L2RyaXZlcnMvaWRlL2l0ODE3Mi5jCU1v biBKdW4gMjQgMjI6NDU6MjAgMjAwMg0KQEAgLTE3OSwxNCArMTc5LDYgQEAN CiANCiAJcmV0dXJuIGlkZV9jb25maWdfZHJpdmVfc3BlZWQoZHJpdmUsIHNw ZWVkKTsNCiB9DQotDQotc3RhdGljIGludCBpdDgxNzJfdWRtYV9zZXR1cChz dHJ1Y3QgYXRhX2RldmljZSAqZHJpdmUpDQotew0KLQl1OCBzcGVlZCA9IGF0 YV90aW1pbmdfbW9kZShkcml2ZSwgWEZFUl9QSU8gfCBYRkVSX0VQSU8gfA0K LQkJCQkgICBYRkVSX1NXRE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Hdp Zi0+dWRtYV9zZXR1cCA9IHBkYzIwMnh4X3VkbWFfc2V0dXA7DQogCQlod2lm LT5oaWdobWVtID0gMTsNCiAJCWlmICghbm9hdXRvZG1hKQ0KIAkJCWh3aWYt PmF1dG9kbWEgPSAxOw0K ---559023410-33463914-1025032625=: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/