--2003038337-851401618-992474442=:2297
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
On Wed, 13 Jun 2001, Kai Germaschewski wrote:
> On Tue, 12 Jun 2001, Boenisch Joerg wrote:
>
> If you dig it up somewhere and get it working with 2.4.5, it would be nice
> if you let me know. We can then work together to integrate it into the
> kernel tree - I can't do it myself, because I don't have the card.
>
> --Kai
I am using the attached patch without problems with the 2.4.X series of
the linux-kernel (at the moment I am runnign 2.4.5-ac13). The patch is the
same, as the one Jochen Friedrich has sent a few day ago (including a
small fix).
Bye,
-- Andreas Klein
asklein@cip.physik.uni-wuerzburg.de
root / webmaster @cip.physik.uni-wuerzburg.de
root / webmaster @www.physik.uni-wuerzburg.de
_____________________________________
| |
| Long live our gracious AMIGA! |
|___________________________________|
--2003038337-851401618-992474442=:2297
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="avm.dif"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GHP.4.21.0106140120420.2297@wpax13.physik.uni-wuerzburg.de>
Content-Description:
Content-Disposition: attachment; filename="avm.dif"
ZGlmZiAtdSAtciAtTiBsaW51eC9kcml2ZXJzL2lzZG4vTWFrZWZpbGUgbGlu
dXgtMi40LjIvZHJpdmVycy9pc2RuL01ha2VmaWxlDQotLS0gbGludXgvZHJp
dmVycy9pc2RuL01ha2VmaWxlCUZyaSBEZWMgMjkgMjM6NDA6NTQgMjAwMA0K
KysrIGxpbnV4LTIuNC4yL2RyaXZlcnMvaXNkbi9NYWtlZmlsZQlTYXQgTWFy
IDEwIDE1OjU1OjU5IDIwMDENCkBAIC00NSw2ICs0NSwxNSBAQA0KIHN1YmRp
ci0kKENPTkZJR19JU0ROX0RSVl9FSUNPTikJCSs9IGVpY29uDQogc3ViZGly
LSQoQ09ORklHX0hZU0ROKQkJCSs9IGh5c2RuDQogDQoraWZlcSAoJChDT05G
SUdfUENNQ0lBKSx5KQ0KKyAgc3ViZGlyLXkgKz0gcGNtY2lhDQorICBzdWJk
aXItbSArPSBwY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3Io
Y2xpZW50X2hhbmRsZV90IGhhbmRsZSwgaW50IGZ1bmMsIGludCByZXQpDQor
ew0KKyAgICBlcnJvcl9pbmZvX3QgZXJyID0geyBmdW5jLCByZXQgfTsNCisg
ICAgQ2FyZFNlcnZpY2VzKFJlcG9ydEVycm9yLCBoYW5kbGUsICZlcnIpOw0K
K30NCisNCisvKj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCisNCisgICAg
YXZtYTFjc19hdHRhY2goKSBjcmVhdGVzIGFuICJpbnN0YW5jZSIgb2YgdGhl
IGRyaXZlciwgYWxsb2NhdGluZw0KKyAgICBsb2NhbCBkYXRhIHN0cnVjdHVy
ZXMgZm9yIG9uZSBkZXZpY2UuICBUaGUgZGV2aWNlIGlzIHJlZ2lzdGVyZWQN
CisgICAgd2l0aCBDYXJkIFNlcnZpY2VzLg0KKw0KKyAgICBUaGUgZGV2X2xp
bmsgc3RydWN0dXJlIGlzIGluaXRpYWxpemVkLCBidXQgd2UgZG9uJ3QgYWN0
dWFsbHkNCisgICAgY29uZmlndXJlIHRoZSBjYXJkIGF0IHRoaXMgcG9pbnQg
LS0gd2Ugd2FpdCB1bnRpbCB3ZSByZWNlaXZlIGENCisgICAgY2FyZCBpbnNl
cnRpb24gZXZlbnQuDQorICAgIA0KKz09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0qLw0KKw0KK3N0YXRpYyBkZXZfbGlua190ICphdm1hMWNzX2F0dGFjaCh2
b2lkKQ0KK3sNCisgICAgY2xpZW50X3JlZ190IGNsaWVudF9yZWc7DQorICAg
IGRldl9saW5rX3QgKmxpbms7DQorICAgIGxvY2FsX2luZm9fdCAqbG9jYWw7
DQorICAgIGludCByZXQsIGk7DQorICAgIA0KKyAgICBERUJVRygwLCAiYXZt
YTFjc19hdHRhY2goKVxuIik7DQorDQorICAgI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bG9ja2VkXG4iLCBsaW5rLT5kZXYtPmRldl9uYW1lKTsNCisjZW5kaWYN
CisJbGluay0+c3RhdGUgfD0gREVWX1NUQUxFX0xJTks7DQorCXJldHVybjsN
CisgICAgfQ0KKw0KKyAgICAvKiBCcmVhayB0aGUgbGluayB3aXRoIENhcmQg
U2VydmljZXMgKi8NCisgICAgaWYgKGxpbmstPmhhbmRsZSkNCisJQ2FyZFNl
cnZpY2VzKERlcmVnaXN0ZXJDbGllbnQsIGxpbmstPmhhbmRsZSk7DQorICAg
IA0KKyAgICAvKiBVbmxpbmsgZGV2aWNlIHN0cnVjdHVyZSwgZnJlZSBwaWVj
ZXMgKi8NCisgICAgKmxpbmtwID0gbGluay0+bmV4dDsNCisgICAgaWYgKGxp
bmstPnByaXYpIHsNCisJa2ZyZWUobGluay0+cHJpdik7DQorICAgIH0NCisg
ICAga2ZyZWUobGluayk7DQorICAgIA0KK30gLyogYXZtYTFjc19kZXRhY2gg
Ki8NCisNCisvKj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCisNCisgICAg
YXZtYTFjc19jb25maWcoKSBpcyBzY2hlZHVsZWQgdG8gcnVuIGFmdGVyIGEg
Q0FSRF9JTlNFUlRJT04gZXZlbnQNCisgICAgaXMgcmVjZWl2ZWQsIHRvIGNv
bmZpZ3VyZSB0aGUgUENNQ0lBIHNvY2tldCwgYW5kIHRvIG1ha2UgdGhlDQor
ICAgIGV0aGVybmV0IGRldmljZSBhdmFpbGFibGUgdG8gdGhlIHN5c3RlbS4N
CisgICAgDQorPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSovDQorDQorc3Rh
dGljIGludCBnZXRfdHVwbGUoaW50IGZuLCBjbGllbnRfaGFuZGxlX3QgaGFu
ZGxlLCB0dXBsZV90ICp0dXBsZSwNCisJCSAgICAgY2lzcGFyc2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isgICAgaWYgKGF2bV9hMV9pbml0X3BjbWNpYSgodm9pZCAqKShp
bnQpbGluay0+aW8uQmFzZVBvcnQxLA0KKyAgICAgICAgICAgICAgICAgICAg
ICAgICAgIGxpbmstPmlycS5Bc3NpZ25lZElSUSwNCisgICAgICAgICAgICAg
ICAgICAgICAgICAgICAmYnVzeSwgaXNkbnByb3QpICE9IDApIHsNCisgICAg
ICAgcHJpbnRrKEtFUk5fRVJSICJhdm1hMV9jczogZmFpbGVkIHRvIGluaXRp
YWxpemUgQVZNIEExIFBDTUNJQSAlZCBhdCBpL28gJSN4XG4iLCBpLCBsaW5r
LT5pby5CYXNlUG9ydDEpOw0KKyAgICAgICByZXR1cm47DQorICAgIH0NCisN
CisgICAgaSA9IDA7IC8qIG5vIHJldHVybmNvZGUgZm9yIGNhcmRuciA6LSgg
Ki8NCisNCisgICAgZGV2LT5ub2RlLm1pbm9yID0gaTsNCisNCit9IC8qIGF2
bWExY3NfY29uZmlnICovDQorDQorLyo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09DQorDQorICAgIEFmdGVyIGEgY2FyZCBpcyByZW1vdmVkLCBhdm1hMWNz
X3JlbGVhc2UoKSB3aWxsIHVucmVnaXN0ZXIgdGhlIG5ldA0KKyAgICBkZXZp
Y2UsIGFuZCByZWxlYXNlIHRoZSBQQ01DSUEgY29uZmlndXJhdGlvbi4gIElm
IHRoZSBkZXZpY2UgaXMNCisgICAgc3RpbGwgb3BlbiwgdGhpcyB3aWxsIGJl
IHBvc3Rwb25lZCB1bnRpbCBpdCBpcyBjbG9zZWQuDQorICAgIA0KKz09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT0qLw0KKw0KK3N0YXRpYyB2b2lkIGF2bWEx
Y3NfcmVsZWFzZSh1X2xvbmcgYXJnKQ0KK3sNCisgICAgZGV2X2xpbm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IE5VTEwpIHsNCisJaWYgKGRldl9saXN0LT5z
dGF0ZSAmIERFVl9DT05GSUcpDQorCSAgICBhdm1hMWNzX3JlbGVhc2UoKHVf
bG9uZylkZXZfbGlzdCk7DQorCWF2bWExY3NfZGV0YWNoKGRldl9saXN0KTsN
CisgICAgfQ0KK30NCg==
--2003038337-851401618-992474442=:2297--
-
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/