IDE Device blacklist in drivers/block/ide_modes.h

Derrik Pates (dmp8309@silver.sdsmt.edu)
Fri, 9 Jan 1998 08:33:49 -0700 (MST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1751187199-928546466-884360029=:25998
Content-Type: TEXT/PLAIN; charset=US-ASCII

I was going through old e-mails, and noticed that breakage of the
blacklist comparison has been noted in the kernel. I checked the source,
and noticed that the same issue was still present. I am including a diff
against the kernel (This is against 2.1.78, but I believe it's simple
enough that it should apply with minor fuzz against 2.0.xx kernels too).
I'm including it as an attachment, if you can't read the attachment,
e-mail me personally and I'll send it to you. It's minor, but I figure I
may as well try to make a contribution. :)

Derrik Pates
dmp8309@silver.sdsmt.edu

---1751187199-928546466-884360029=:25998
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="blacklist_fix.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.A41.3.96.980109083349.25998B@silver.sdsmt.edu>
Content-Description:

KioqIGxpbnV4LW9sZC9kcml2ZXJzL2Jsb2NrL2lkZV9tb2Rlcy5oLm9sZAlG
cmkgSmFuICA5IDA4OjI2OjU0IDE5OTgNCi0tLSBsaW51eC9kcml2ZXJzL2Js
b2NrL2lkZV9tb2Rlcy5oCUZyaSBKYW4gIDkgMDg6MjY6NDIgMTk5OA0KKioq
KioqKioqKioqKioqDQoqKiogMTM2LDE0NCAqKioqDQogIGludCBpZGVfc2Nh
bl9waW9fYmxhY2tsaXN0IChjaGFyICptb2RlbCkNCiAgew0KICAJc3RydWN0
IGlkZV9waW9faW5mbyAqcDsNCiAgDQogIAlmb3IgKHAgPSBpZGVfcGlvX2Js
YWNrbGlzdDsgcC0+bmFtZSAhPSBOVUxMOyBwKyspIHsNCiEgCQlpZiAoc3Ry
bmNtcChwLT5uYW1lLCBtb2RlbCwgc3RybGVuKHAtPm5hbWUpKSA9PSAwKQ0K
ICAJCQlyZXR1cm4gcC0+cGlvOw0KICAJ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