--8323328-1089943134-938468040=:386
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Hello,
I have found a trade-off that allows the driver to perform additionnal
checkings when it has to measure the SCSI clock of a chip and that also
allows people that want to overcook their data not to be refused to do so
by the driver, without adding any new boot option. This has been possible
by dropping support of 50 MHz SCSI clock which is a so stupid
configuration that I shouldn't ever have decided to support it.
People who want to know how it works can read comments in the patch=20
file, and give it a try, especially if driver 1.5e didn't agree with the
PCI clock frequency of their system.
You may want to report problems if any. Thanks.
(Btw, this is not the only change in this patch)
Patch against sym53c8xx-1.5e attached (driver version pre-1.5f-1).
G=E9rard.
--8323328-1089943134-938468040=:386
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sym-pre-1.5f-1.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.95.990927233400.386B@localhost>
Content-Description:
LS0tIC91c3Ivc3JjL2xpbnV4L2RyaXZlcnMvc2NzaS9zeW01M2M4eHguYy45
OTA5MjMJRnJpIFNlcCAyNCAyMzowMzoyNyAxOTk5DQorKysgL3Vzci9zcmMv
bGludXgvZHJpdmVycy9zY3NpL3N5bTUzYzh4eC5jCU1vbiBTZXAgMjcgMjI6
Mjc6MTUgMTk5OQ0KQEAgLTU1LDcgKzU1LDcgQEANCiAqLw0KIA0KIC8qDQot
KioJU2VwIDEwIDE5OTksIHN5bTUzYzh4eCAxLjVlDQorKioJU2VwIDI3IDE5
OTksIHN5bTUzYzh4eCBwcmUtMS41Zi0xDQogKioNCiAqKglTdXBwb3J0ZWQg
U0NTSSBmZWF0dXJlczoNCiAqKgkgICAgU3luY2hyb25vdXMgZGF0YSB0cmFu
c2ZlcnMNCkBAIC04Myw3ICs4Myw3IEBADQogLyoNCiAqKglOYW1lIGFuZCB2
ZXJzaW9uIG9mIHRoZSBkcml2ZXINCiAqLw0KLSNkZWZpbmUgU0NTSV9OQ1Jf
RFJJVkVSX05BTUUJInN5bTUzYzh4eCAtIHZl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dW1lZFxuIiwgbmNyX25h
bWUobnApKTsNCiAJCQlucC0+bXVsdGlwbGllcgk9IG11bHQ7DQpAQCAtMTA5
NzMsMTMgKzExMDAzLDEyIEBADQogICovDQogc3RhdGljIHVfaW50IF9faW5p
dCBuY3JfZ2V0cGNpY2xvY2sgKG5jYl9wIG5wKQ0KIHsNCi0Jc3RhdGljIHVf
aW50IGYgPSAwOw0KKwlzdGF0aWMgdV9pbnQgZjsNCisNCisJT1VUQiAobmNf
c3Rlc3QxLCBTQ0xLKTsJLyogVXNlIHRoZSBQQ0kgY2xvY2sgYXMgU0NTSSBj
bG9jayAqLw0KKwlmID0gbmNyX2dldGZyZXEgKG5wKTsNCisJT1VUQiAobmNf
c3Rlc3QxLCAwKTsNCiANCi0JaWYgKCFmKSB7DQotCQlPVVRCIChuY19zdGVz
dDEsIFNDTEspOwkvKiBVc2UgdGhlIFBDSSBjbG9jayBhcyBTQ1NJIGNsb2Nr
ICovDQotCQlmID0gbmNyX2dldGZyZXEgKG5wKTsNCi0JCU9VVEIgKG5jX3N0
ZXN0MSwgMCk7DQotCX0NCiAJcmV0dXJuIGY7DQogfQ0KIA0K
--8323328-1089943134-938468040=:386--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/