PCI irq fix

Benjamin Close (clobs001@lux.levels.unisa.edu.au)
Thu, 27 Apr 2000 13:52:53 +0930 (GMT+9:30)


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.

---559023410-1804928587-956809373=:27869
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,
I have a Toshiba 320 CDS laptop (i386 arch). When I try and run a
2.3 kernel (2.3.99-pre6) it panics on boot. I've tracked the problem back
to a null pointer deference in pci-irq.c If I prevent this derefernce it
boots ok. Attached is a patch to solve the problem. Comment, suggestions
and even a correct fix (I'm no kernel hacker) would be nice in the next
pre release.

Please CC responses.

Cheers,
Benjamin

---559023410-1804928587-956809373=:27869
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pcifix.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.4.20.0004271352530.27869@lux.levels.unisa.edu.au>
Content-Description:
Content-Disposition: attachment; filename="pcifix.diff"

LS0tIGxpbnV4LTIuMy45OS1wcmU2LW9sZC9hcmNoL2kzODYva2VybmVsL3Bj
aS1pcnEuYwlTdW4gQXByIDE2IDEzOjQyOjExIDIwMDANCisrKyBsaW51eC0y
LjMuOTktcHJlNi9hcmNoL2kzODYva2VybmVsL3BjaS1pcnEuYwlXZWQgQXBy
IDI2IDE0OjM3OjAwIDIwMDANCkBAIC0zMTgsNiArMzE4LDcgQEANCiAJREJH
KCIgLT4gbmV3aXJxPSVkIiwgbmV3aXJxKTsNCiANCiAJLyogVHJ5IHRvIGdl
dCBjdXJyZW50IElSUSAqLw0KKwlpZihyKXsNCiAJaWYgKHItPmdldCAmJiAo
aXJxID0gci0+Z2V0KHBpcnFfcm91dGVyX2RldiwgZCwgcGlycSkpKSB7DQog
CQlEQkcoIiAtPiBnb3QgSVJRICVkXG4iLCBpcnEpOw0KIAkJbXNnID0gIkZv
dW5kIjsNCkBAIC0zMjgsNiArMzI5LDcgQEANCiAJCQltc2cgPSAiQXNzaWdu
ZWQiOw0KIAkJCWlycSA9IG5ld2lycTsNCiAJCX0NCisJfQ0KIAl9DQogDQog
CWlmICghaXJxKSB7DQo=
---559023410-1804928587-956809373=:27869--

-
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/