--Multipart_Mon__28_Jan_2002_04:41:21_+0300_0828b568
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
> So i hope this patch will help a bit in this direction.
Ooops, forgot to attach.
Evgeniy Polyakov ( s0mbre ).
--Multipart_Mon__28_Jan_2002_04:41:21_+0300_0828b568
Content-Type: application/octet-stream;
name="drivers_scsi_sym53c416.diff"
Content-Disposition: attachment;
filename="drivers_scsi_sym53c416.diff"
Content-Transfer-Encoding: base64
LS0tIC4vbGludXgub3JpZy9kcml2ZXJzL3Njc2kvc3ltNTNjNDE2LmMJTW9uIEphbiAyOCAwNDox
NzoyNiAyMDAyCisrKyAuL2xpbnV4L2RyaXZlcnMvc2NzaS9zeW01M2M0MTYuYwlNb24gSmFuIDI4
IDA0OjI2OjQ4IDIwMDIKQEAgLTMzNyw2ICszMzcsNyBAQAogCiBzdGF0aWMgdm9pZCBzeW01M2M0
MTZfaW50cl9oYW5kbGUoaW50IGlycSwgdm9pZCAqZGV2X2lkLCBzdHJ1Y3QgcHRfcmVncyAqcmVn
cykKIHsKKwlzdHJ1Y3QgU2NzaV9Ib3N0ICpkZXYgPSBkZXZfaWQ7CiAJaW50IGJhc2UgPSAwOwog
CWludCBpOwogCXVuc2lnbmVkIGxvbmcgZmxhZ3MgPSAwOwpAQCAtMzU5LDExICszNjAsMTEgQEAK
IAl9CiAJLyogTm93IHdlIGhhdmUgdGhlIGJhc2UgYWRkcmVzcyBhbmQgd2UgY2FuIHN0YXJ0IGhh
bmRsaW5nIHRoZSBpbnRlcnJ1cHQgKi8KIAotCXNwaW5fbG9ja19pcnFzYXZlKCZpb19yZXF1ZXN0
X2xvY2ssZmxhZ3MpOworCXNwaW5fbG9ja19pcnFzYXZlKCZkZXYtPmhvc3RfbG9jayxmbGFncyk7
CiAJc3RhdHVzX3JlZyA9IGluYihiYXNlICsgU1RBVFVTX1JFRyk7CiAJcGlvX2ludF9yZWcgPSBp
bmIoYmFzZSArIFBJT19JTlRfUkVHKTsKIAlpb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SZXF1ZXN0IGZvciBzcGVjaWZpZWQgSVJRICovCi0JCQkJaWYo
cmVxdWVzdF9pcnEoaG9zdHNbaV0uaXJxLCBzeW01M2M0MTZfaW50cl9oYW5kbGUsIDAsIElELCBO
VUxMKSkKKwkJCQlpZihyZXF1ZXN0X2lycShob3N0c1tpXS5pcnEsIHN5bTUzYzQxNl9pbnRyX2hh
bmRsZSwgMCwgSUQsIHNocG50KSkKIAkJCQl7CiAJCQkJCXJlc3RvcmVfZmxhZ3MoZmxhZ3MpOwog
CQkJCQlwcmludGsoS0VSTl9FUlIgInN5bTUzYzQxNjogVW5hYmxlIHRvIGFzc2lnbiBJUlEgJWRc
biIsIGhvc3RzW2ldLmlycSk7Cg==
--Multipart_Mon__28_Jan_2002_04:41:21_+0300_0828b568--
-
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/