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

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

- add int 'map' parameter to ch->udma_setup() functions

--
Bartlomiej Zolnierkiewicz

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

ZGlmZiAtdXIgbGludXgtYXRhLWhvc3RzLTgvaW5jbHVkZS9saW51eC9pZGUu aCBsaW51eC9pbmNsdWRlL2xpbnV4L2lkZS5oDQotLS0gbGludXgtYXRhLWhv c3RzLTgvaW5jbHVkZS9saW51eC9pZGUuaAlNb24gSnVuIDI0IDIyOjM1OjEw IDIwMDINCisrKyBsaW51eC9pbmNsdWRlL2xpbnV4L2lkZS5oCU1vbiBKdW4g MjQgMjI6NDA6NDAgMjAwMg0KQEAgLTQ1Niw3ICs0NTYsNyBAQA0KIAl2b2lk ICgqYXRhcGlfcmVhZCkoc3RydWN0IGF0YV9kZXZpY2UgKiwgdm9pZCAqLCB1 bnNpZ25lZCBpbnQpOw0KIAl2b2lkICgqYXRhcGlfd3JpdGUpKHN0cnVjdCBh dGFfZGV2aWNlICosIHZvaWQgKiwgdW5zaWduZWQgaW50KTsNCiANCi0JaW50 ICgqdWRtYV9zZXR1cCkoc3RydWN0IGF0YV9kZXZpY2UgKik7DQorCWludCAo KnVkbWFfc2V0dXApKHN0cnVjdCBhdGFfZGV2aWNlICosIGludCk7DQogDQog CXZvaWQgKCp1ZG1hX2VuYWJsZSkoc3Ryd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CkNCiB7DQotCXJldHVy biB1ZG1hX3BjaV9zZXR1cChkcml2ZSk7DQorCXJldHVybiB1ZG1hX3BjaV9z ZXR1cChkcml2ZSwgbWFwKTsNCiB9DQogI2VuZGlmDQogDQo= ---559023410-684387517-1025032537=: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/