---2084555674-1231429211-1036260985=:1124
Content-Type: TEXT/PLAIN; charset=US-ASCII
Alan Cox and lkml:
I have accumulated a series of changes for the ide-tape driver. They
address a number of problems, but primarily they fix the use of DMA (which
did not work at all previously) and the handling of filemarks. These
changes are essential for use of my Seagate TapeStor 20GB ATAPI drive.
There doesn't seem to be an official maintainer for the ide-tape driver,
although Willem Riede handles the OnStream maintenance. I have sent my
changes to him for testing, and he has said that they work properly on his
system. Therefore I am sending my patches to the list for any additional
testing and to you for inclusion in the official kernel source.
Thank you.
Alan Stern
---2084555674-1231429211-1036260985=:1124
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ide-tape.c.patch-2.4.19"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33L2.0211021316250.1124@ida.rowland.org>
Content-Description: ide-tape patch for Linux 2.4.19
Content-Disposition: attachment; filename="ide-tape.c.patch-2.4.19"
LS0tIGxpbnV4L2RyaXZlcnMvaWRlL2lkZS10YXBlLmMub3JpZwlXZWQgT2N0
IDE2IDExOjQ3OjM2IDIwMDINCisrKyBsaW51eC9kcml2ZXJzL2lkZS9pZGUt
dGFwZS5jCVRodSBPY3QgMTcgMTU6MTI6MjggMjAwMg0KQEAgLTEsNSArMSw1
IEBADQogLyoNCi0gKiBsaW51eC9kcml2ZXJzL2lkZS9pZGUtdGFwZS5jCQlW
ZXJzaW9uIDEuMTdhCUphbiwgMjAwMQ0KKyAqIGxpbnV4L2RyaXZlcnMvaWRl
L2lkZS10YXBlLmMJCVZlcnNpb24gMS4xN2IJT2N0LCAyMDAyDQogICoNCiAg
KiBDb3B5cmlnaHQgKEMpIDE5OTUgLSAxOTk5IEdhZGkgT3htYW4gPGdhZGlv
QG5ldHZpc2lvbi5uZXQuaWw+DQogICoNCkBAIC0yOTEsNiArMjkxLDI4IEBA
DQogICogVmVyIDEuMTdhIEFwciAyMDAxIFdpbGxlbSBSaWVkZSBvc3N0QHJp
ZWRlLm9yZw0KICAqIAkJCS0gR2V0IGRyaXZ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RUxJTkVf
U1RBR0VTKTsNCisJaWYgKHRhcGUtPm1heF9zdGFnZXMgPT0gMCkNCisJCXRh
cGUtPm1heF9zdGFnZXMgPSB0YXBlLT5taW5fcGlwZWxpbmUgPSB0YXBlLT5t
YXhfcGlwZWxpbmUgPSAxOw0KIA0KIAl0MSA9ICh0YXBlLT5zdGFnZV9zaXpl
ICogSFopIC8gKHNwZWVkICogMTAwMCk7DQogCXRtaWQgPSAodGFwZS0+Y2Fw
YWJpbGl0aWVzLmJ1ZmZlcl9zaXplICogMzIgKiBIWikgLyAoc3BlZWQgKiAx
MjUpOw0K
---2084555674-1231429211-1036260985=:1124
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ide-tape.c.patch-2.5.44"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33L2.0211021316251.1124@ida.rowland.org>
Content-Description: ide-tape patch for Linux 2.5.44
Content-Disposition: attachment; filename="ide-tape.c.patch-2.5.44"
LS0tIGxpbnV4L2RyaXZlcnMvaWRlL2lkZS10YXBlLmMub3JpZwlUaHUgT2N0
IDE3IDE1OjE0OjUwIDIwMDINCisrKyBsaW51eC9kcml2ZXJzL2lkZS9pZGUt
dGFwZS5jCVRodSBPY3QgMTcgMTU6MTU6NDEgMjAwMg0KQEAgLTEsNSArMSw1
IEBADQogLyoNCi0gKiBsaW51eC9kcml2ZXJzL2lkZS9pZGUtdGFwZS5jCQlW
ZXJzaW9uIDEuMTdhCUphbiwgMjAwMQ0KKyAqIGxpbnV4L2RyaXZlcnMvaWRl
L2lkZS10YXBlLmMJCVZlcnNpb24gMS4xN2IJT2N0LCAyMDAyDQogICoNCiAg
KiBDb3B5cmlnaHQgKEMpIDE5OTUgLSAxOTk5IEdhZGkgT3htYW4gPGdhZGlv
QG5ldHZpc2lvbi5uZXQuaWw+DQogICoNCkBAIC0yOTEsNiArMjkxLDI4IEBA
DQogICogVmVyIDEuMTdhIEFwciAyMDAxIFdpbGxlbSBSaWVkZSBvc3N0QHJp
Z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KLQl0YXBlLT5taW5fcGlwZWxpbmUgPSB0
YXBlLT5tYXhfc3RhZ2VzOw0KLQl0YXBlLT5tYXhfcGlwZWxpbmUgPSB0YXBl
LT5tYXhfc3RhZ2VzICogMjsNCisJdGFwZS0+bWF4X3N0YWdlcyAgID0gbWlu
KHRhcGUtPm1heF9zdGFnZXMsIElERVRBUEVfTUFYX1BJUEVMSU5FX1NUQUdF
Uyk7DQorCXRhcGUtPm1pbl9waXBlbGluZSA9IG1pbih0YXBlLT5tYXhfc3Rh
Z2VzLCBJREVUQVBFX01JTl9QSVBFTElORV9TVEFHRVMpOw0KKwl0YXBlLT5t
YXhfcGlwZWxpbmUgPSBtaW4odGFwZS0+bWF4X3N0YWdlcyAqIDIsIElERVRB
UEVfTUFYX1BJUEVMSU5FX1NUQUdFUyk7DQorCWlmICh0YXBlLT5tYXhfc3Rh
Z2VzID09IDApDQorCQl0YXBlLT5tYXhfc3RhZ2VzID0gdGFwZS0+bWluX3Bp
cGVsaW5lID0gdGFwZS0+bWF4X3BpcGVsaW5lID0gMTsNCiANCiAJdDEgPSAo
dGFwZS0+c3RhZ2Vfc2l6ZSAqIEhaKSAvIChzcGVlZCAqIDEwMDApOw0KIAl0
bWlkID0gKHRhcGUtPmNhcGFiaWxpdGllcy5idWZmZXJfc2l6ZSAqIDMyICog
SFopIC8gKHNwZWVkICogMTI1KTsNCg==
---2084555674-1231429211-1036260985=:1124--
-
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/