Subject: Re: Driver for Analog Devices ADT7467 environmental controller -
To: Michael <macallan18@earthlink.net>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 12/15/2004 13:02:38
This is a multi-part message in MIME format.
--Multipart=_Wed__15_Dec_2004_13_02_38_-0500_waqhUa1BC05yLxS5
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hello,
AARGH, I accidentally hit the send button too early.
Here's the stuff.
have fun
Michael
--Multipart=_Wed__15_Dec_2004_13_02_38_-0500_waqhUa1BC05yLxS5
Content-Type: application/octet-stream;
name="ki2c.patch"
Content-Disposition: attachment;
filename="ki2c.patch"
Content-Transfer-Encoding: base64
SW5kZXg6IGNvbmYvZmlsZXMubWFjcHBjCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3Ny
Yy9zeXMvYXJjaC9tYWNwcGMvY29uZi9maWxlcy5tYWNwcGMsdgpyZXRyaWV2aW5nIHJldmlzaW9u
IDEuNjMKZGlmZiAtdSAtdyAtcjEuNjMgZmlsZXMubWFjcHBjCi0tLSBjb25mL2ZpbGVzLm1hY3Bw
YwkyNSBNYXIgMjAwNCAxODo1MjoyNSAtMDAwMAkxLjYzCisrKyBjb25mL2ZpbGVzLm1hY3BwYwkx
NSBEZWMgMjAwNCAxNzoyOTo0NSAtMDAwMApAQCAtNzIsNiArNzIsMTIgQEAKIGF0dGFjaCB1bmlu
b3J0aCBhdCBtYWluYnVzCiBmaWxlIGFyY2gvbWFjcHBjL3BjaS91bmlub3J0aC5jCQkJdW5pbm9y
dGgKIAorIyBwc2V1ZG9kZXYgZm9yIHRoZSBVbmlOb3J0aCBob3N0IGNvbnRyb2xsZXIKK2RlZmlu
ZSB1bmlfbiB7fQorZGV2aWNlIHVuaV9uOiB1bmlfbgorYXR0YWNoIHVuaV9uIGF0IG1haW5idXMK
K2ZpbGUgYXJjaC9tYWNwcG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gNCkgPT0gMCkKKwkJCXNjLT5zY19pMmMgPSBk
di0+ZHZfcGFyZW50OworCiAJaWYgKHNjLT5zY19pMmMgPT0gTlVMTCkgewogCQlwcmludGYoIiVz
OiB1bmFibGUgdG8gZmluZCBpMmNcbiIsIHNjLT5zY19kZXYuZHZfeG5hbWUpOwogCQlyZXR1cm47
CkBAIC0zNzMsNyArNDAxLDcgQEAKIAkvKiBYWFggSWYgaTJjIHdhcyBmYWlsZWQgdG8gYXR0YWNo
LCB3aGF0IHNob3VsZCB3ZSBkbz8gKi8KIAogCWF1ZGlvX2F0dGFjaF9taSgmc25hcHBlcl9od19p
Ziwgc2MsICZzYy0+c2NfZGV2KTsKLQorCXByaW50ZigiJXM6IHVzaW5nICVzXG4iLHNjLT5zY19k
ZXYuZHZfeG5hbWUsc2MtPnNjX2kyYy0+ZHZfeG5hbWUpOwogCS8qIGtpMmNfc2V0bW9kZShzYy0+
c2NfaTJjLCBJMkNfU1REU1VCTU9ERSk7ICovCiAJc25hcHBlcl9pbml0KHNjLCBzYy0+c2Nfbm9k
ZSk7CiB9Cg==
--Multipart=_Wed__15_Dec_2004_13_02_38_-0500_waqhUa1BC05yLxS5
Content-Type: application/octet-stream;
name="adt7467.c"
Content-Disposition: attachment;
filename="adt7467.c"
Content-Transfer-Encoding: base64
LyoJJE5ldEJTRDogZmFuLmMsdiAxLjIwIDIwMDQvMTIvMDkgMDM6MTk6NTYgYnJpZ2dzIEV4cCAk
CSovCgovKi0KICogQ29weXJpZ2h0IChDKSAxOTk4CUludGVybmV0IFJlc2VhcmNoIEluc3RpdHV0
ZSwgSW5jLgogKiBBbGwgcmlnaHRzIHJlc2VydmVkLgogKgogKiBSZWRpc3RyaWJ1dGlvbiBhbmQg
dXNlIGluIHNvdXJjZSBhbmQgYmluYXJ5IGZvcm1zLCB3aXRoIG9yIHdpdGhvdXQKICogbW9kaWZp
Y2F0aW9uLCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvb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WluZm8oc3RydWN0IHN5c21vbl9lbnZzeXMgKnNtZSwg
c3RydWN0IGVudnN5c19iYXNpY19pbmZvICpiaW5mbykKewoKCS8qIFRoZXJlIGlzIG5vdGhpbmcg
dG8gc2V0IGhlcmUuICovCglyZXR1cm4gKEVJTlZBTCk7Cn0KI2VuZGlmIC8qIE5TWVNNT05fRU5W
U1lTID4gMCAqLwo=
--Multipart=_Wed__15_Dec_2004_13_02_38_-0500_waqhUa1BC05yLxS5
Content-Type: application/octet-stream;
name="deq.c"
Content-Disposition: attachment;
filename="deq.c"
Content-Transfer-Encoding: base64
LyoJJE5ldEJTRDogZmFuLmMsdiAxLjIwIDIwMDQvMTIvMDkgMDM6MTk6NTYgYnJpZ2dzIEV4cCAk
CSovCgovKi0KICogQ29weXJpZ2h0IChDKSAxOTk4CUludGVybmV0IFJlc2VhcmNoIEluc3RpdHV0
ZSwgSW5jLgogKiBBbGwgcmlnaHRzIHJlc2VydmVkLgogKgogKiBSZWRpc3RyaWJ1dGlvbiBhbmQg
dXNlIGluIHNvdXJjZSBhbmQgYmluYXJ5IGZvcm1zLCB3aXRoIG9yIHdpdGhvdXQKICogbW9kaWZp
Y2F0aW9uLCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRp
b25zCiAqIGFyZSBtZXQ6CiAqIDEuIFJlZGlzdHJpYnV0aW9ucyBvZiBzb3VyY2UgY29kZSBtdXN0
IHJldGFpbiB0aGUgYWJvdmUgY29weXJpZ2h0CiAqICAgIG5vdGljZSwgdGhpcyBsaXN0IG9mIGNv
bmRpdGlvbnMgYW5kIHRoZSBmb2xsb3dpbmcgZGlzY2xhaW1lci4KICogMi4gUmVkaXN0cmlidXRp
b25zIGluIGJpbmFyeSBmb3JtIG11c3QgcmVwcm9kdWNlIHRoZSBhYm92ZSBjb3B5cmlnaHQKICog
ICAgbm90aWNlLCB0aGlzIGxpc3Qgb2YgY29uZGl0aW9ucyBhbmQgdGh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lmKE9GX2dldHByb3AoY2EtPmNhX25vZGUsICJpMmMtYWRkcmVzcyIsIGNvbXBh
dCwgc2l6ZW9mKGNvbXBhdCkpKQoJCXJldHVybiAxOwoJcmV0dXJuIDA7Cn0KCnZvaWQKZGVxX2F0
dGFjaChwYXJlbnQsIHNlbGYsIGF1eCkKCXN0cnVjdCBkZXZpY2UgKnBhcmVudCwgKnNlbGY7Cgl2
b2lkICphdXg7CnsKCXN0cnVjdCBkZXFfc29mdGMgKnNjID0gKHN0cnVjdCBkZXFfc29mdGMgKilz
ZWxmOwoJc3RydWN0IGNvbmZhcmdzICpjYSA9IGF1eDsKCWludCBub2RlOwoKCW5vZGUgPSBjYS0+
Y2Ffbm9kZTsKCXNjLT5zY19ub2RlID0gbm9kZTsKCXNjLT5wYXJlbnQ9cGFyZW50OwoJc2MtPmFk
ZHJlc3M9Y2EtPmNhX3JlZ1swXSYweGZlOwoJc2MtPnNjX2kyYz0oc3RydWN0IGkyY19jb250cm9s
bGVyICopY2EtPmNhX2Jhc2VhZGRyOwoJcHJpbnRmKCIgQXBwbGUgRGlnaXRhbCBFcXVhbGl6ZXJc
biIpOwoJLy9wcmludGYoIiVzOiBub2RlICUwOHhcbiIsc2MtPnNjX2Rldi5kdl94bmFtZSxub2Rl
KTsKfQo=
--Multipart=_Wed__15_Dec_2004_13_02_38_-0500_waqhUa1BC05yLxS5
Content-Type: application/octet-stream;
name="uni-n.c"
Content-Disposition: attachment;
filename="uni-n.c"
Content-Transfer-Encoding: base64
LyoJJE5ldEJTRDogdW5pXy0uYyx2IDEuMjAgMjAwNC8xMi8wOSAwMzoxOTo1NiBicmlnZ3MgRXhw
ICQJKi8KCi8qLQogKiBDb3B5cmlnaHQgKEMpIDE5OTgJSW50ZXJuZXQgUmVzZWFyY2ggSW5zdGl0
dXRlLCBJbmMuCiAqIEFsbCByaWdodHMgcmVzZXJ2ZWQuCiAqCiAqIFJlZGlzdHJpYnV0aW9uIGFu
ZCB1c2UgaW4gc291cmNlIG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