[patch] linux-2.5.38 new i2c parallel port adapter

Albert Cranford (ac9410@attbi.com)
Tue, 24 Sep 2002 00:45:59 -0400 (EDT)


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.

--0-531422561-1032842759=:16117
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello Linus,
New i2c-pport parallel port adapter for linux-2.5.38
Thanks
Albert

-- 
ac9410@attbi.com

--0-531422561-1032842759=:16117 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=3-pport-patch Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.44.0209240045590.16117@home1> Content-Description: Content-Disposition: attachment; filename=3-pport-patch

LS0tIC9kZXYvbnVsbAkxOTk0LTA3LTE3IDE5OjQ2OjE4LjAwMDAwMDAwMCAt MDQwMA0KKysrIGxpbnV4L2RyaXZlcnMvaTJjL2kyYy1wcG9ydC5jCTIwMDIt MDktMTcgMDk6MDQ6MzkuMDAwMDAwMDAwIC0wNDAwDQpAQCAtMCwwICsxLDIz NiBAQA0KKy8qIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gKi8NCisv KiBpMmMtcHBvcnQuYyBpMmMtaHcgYWNjZXNzICBmb3IgcHJpbWl0aXZlIGky YyBwYXIuIHBvcnQgYWRhcHRlcgkgICAgICovDQorLyogLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLSAqLw0KKy8qICAgQ29weXJpZ2h0IChDKSAyMDAx ICAgIERhbmllbCBTbW9saWsNCisNCisgICAgVGhpcyBwcm9ncmFtIGlzIGZy ZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9vciBt b2RpZnkNCis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TOw0KK01PRFVMRV9BVVRIT1IoIkRhbmllbCBT bW9saWsgPG1hcnZpbkBzaXRvdXIuY3o+Iik7DQorTU9EVUxFX0RFU0NSSVBU SU9OKCJJMkMtQnVzIGFkYXB0ZXIgcm91dGluZXMgZm9yIFByaW1pdGl2ZSBw YXJhbGxlbCBwb3J0IGFkYXB0ZXIiKQ0KKzsNCitNT0RVTEVfUEFSTShiYXNl LCAiaSIpOw0KKw0KK21vZHVsZV9pbml0KGkyY19iaXRwcG9ydF9pbml0KTsN Cittb2R1bGVfZXhpdChpMmNfYml0cHBvcnRfZXhpdCk7DQo= --0-531422561-1032842759=:16117-- - 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/